build: Fix lowlatency kernel flavour name

Nowadays the lowlatency kernel is just the generic kernel with some
bootargs to make it lowlatency. Hence the flavour name is 'generic'.
This commit is contained in:
Juerg Haefliger 2025-07-30 17:34:32 +02:00
parent 069bcfedd2
commit 182b6a5f5b

View File

@ -498,7 +498,7 @@ for FLAVOUR in $LB_LINUX_FLAVOURS; do
continue
fi
case $FLAVOUR in
allwinner|virtual|generic-hwe-*)
allwinner|virtual|generic-hwe-*|lowlatency-hwe-*)
FLAVOUR="generic"
;;
oem-*)
@ -510,9 +510,6 @@ for FLAVOUR in $LB_LINUX_FLAVOURS; do
intel-iotg*)
FLAVOUR="intel-iotg"
;;
lowlatency-hwe-*)
FLAVOUR="lowlatency"
;;
esac
KVERS="$( (cd "binary/$INITFS"; ls vmlinu?-* 2>/dev/null || true) | (fgrep -v .efi || true) | sed -n "s/^vmlinu.-\\([^-]*-[^-]*-$FLAVOUR\\)$/\\1/p" )"
if [ -z "$KVERS" ]; then