uefi: don't spell out KERNELBRANCH anymore, KERNEL_MAJOR_MINOR is sufficient now

This commit is contained in:
Ricardo Pardini 2023-12-27 15:45:16 +01:00 committed by Igor
parent dccf44630f
commit 22848254e5

View File

@ -22,19 +22,15 @@ case "${BRANCH}" in
;;
legacy)
declare -g KERNEL_MAJOR_MINOR="6.1" # Major and minor versions of this kernel. For mainline caching.
declare -g KERNELBRANCH="branch:linux-6.1.y" # Branch or tag to build from. It should match MAJOR_MINOR
declare -g KERNEL_MAJOR_MINOR="6.1"
;;
current)
declare -g KERNEL_MAJOR_MINOR="6.6" # Major and minor versions of this kernel. For mainline caching.
declare -g KERNELBRANCH="branch:linux-6.6.y" # Branch or tag to build from. It should match MAJOR_MINOR
declare -g KERNEL_MAJOR_MINOR="6.6"
;;
edge)
declare -g KERNEL_MAJOR_MINOR="6.7" # Major and minor versions of this kernel.
declare -g KERNELBRANCH='tag:v6.7-rc7' # @TODO: branch:linux-6.7.y' when released
declare -g KERNEL_MAJOR_MINOR="6.7"
;;
esac
@ -42,7 +38,6 @@ esac
declare -g LINUXCONFIG="linux-uefi-${LINUXFAMILY}-${BRANCH}"
declare -g KERNELPATCHDIR="archive/uefi-${LINUXFAMILY}-${KERNEL_MAJOR_MINOR}" # Might be empty; NO SYMLINKS! Attention: KERNEL_MAJOR_MINOR is used, not BRANCH! No symlinks!
# Booting EFI stuff via GRUB. There are specific boards (qemu-uboot-x86 and qemu-uboot-arm64) that enable QEMU_UBOOT_BOOTCONFIG.
# This does not affect "normal" generic UEFI boards
if [[ "${QEMU_UBOOT_BOOTCONFIG}" != "" ]]; then