diff --git a/srcpkgs/linux-base/template b/srcpkgs/linux-base/template new file mode 100644 index 00000000000..249f21fa27f --- /dev/null +++ b/srcpkgs/linux-base/template @@ -0,0 +1,18 @@ +# Template file for 'linux-base' +pkgname=linux-base +version=2021.07.21 +revision=1 +build_style=meta +short_desc="Linux kernel base dependencies" +maintainer="Érico Nogueira " +license="Public Domain" +homepage="https://voidlinux.org/" + +case "$XBPS_TARGET_MACHINE" in + i686*|x86_64*) + depends="linux-firmware-amd linux-firmware-intel linux-firmware-nvidia linux-firmware-network dracut" + ;; + ppc*|armv7l*|aarch64*) + depends="linux-firmware-amd linux-firmware-nvidia linux-firmware-network dracut" + ;; +esac