mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
* Update kernel configs * Switch sunxi edge to 5.18.y * Move sunxi to 5.18.y and re-enable AUFS * Change version - temporally to make a build from here * Update config * 88xx was fixed in the mean time. * Put version back * Fix sunxi legacy, disable aufs on 5.10.y since its broken * Upstream changed in the mean time * Add a patch to enable 8821cu compilation at 5.18 https://github.com/armbian/build/pull/3814 * Re-enable CONFIG_RTL8822BU in edge * Update CONFIG_RTL8XXXU * Bump imx6 * Bump uefi kernels to 5.18.y * Bump mvebu64 and switch odroid xu4 to 5.18
30 lines
1.3 KiB
PHP
30 lines
1.3 KiB
PHP
enable_extension "grub"
|
|
export SERIALCON="tty1" # Cant reasonably expect UEFI stuff to have a serial console. Customize if otherwise.
|
|
export SKIP_BOOTSPLASH="yes" # No splash.
|
|
export UEFI_GRUB_TIMEOUT=${UEFI_GRUB_TIMEOUT:-1} # Default 1-second timeout for GRUB menu.
|
|
export BOARD_FIRMWARE_INSTALL="-full" # Install full firmware for UEFI boards
|
|
case "${BRANCH}" in
|
|
|
|
legacy)
|
|
# This will force `unset KERNELSOURCE` later; no kernel will be built.
|
|
# Instead, the distro's default linux-generic kernel will be installed.
|
|
export DISTRO_GENERIC_KERNEL=yes
|
|
;;
|
|
|
|
current)
|
|
export DISTRO_GENERIC_KERNEL=no
|
|
export LINUXCONFIG="linux-uefi-${LINUXFAMILY}-${BRANCH}"
|
|
export KERNELBRANCH="branch:linux-5.15.y"
|
|
export KERNELPATCHDIR="uefi-${LINUXFAMILY}-${BRANCH}" # Might be empty.
|
|
export KERNELDIR="linux-uefi-${LINUXFAMILY}" # Avoid sharing a source tree with others, until we know it's safe.
|
|
;;
|
|
|
|
edge)
|
|
export DISTRO_GENERIC_KERNEL=no
|
|
export LINUXCONFIG="linux-uefi-${LINUXFAMILY}-${BRANCH}"
|
|
export KERNELBRANCH="branch:linux-5.18.y"
|
|
export KERNELPATCHDIR="uefi-${LINUXFAMILY}-${BRANCH}" # Might be empty.
|
|
export KERNELDIR="linux-uefi-${LINUXFAMILY}" # Avoid sharing a source tree with others, until we know it's safe.
|
|
;;
|
|
esac
|