Fix kernel prefix.

This commit is contained in:
fewtarius 2022-11-01 11:37:27 +00:00
parent 5f84d3accc
commit 89a91ed1d1
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -61,12 +61,12 @@ XORG_PATH_DRIVERS=/usr/lib/xorg/modules/drivers
. config/optimize
# use ARM toolchain on 64/32 split builds
# use different toolchain for 64/32 split builds
if [ -z "$KERNEL_TOOLCHAIN" -a "$TARGET_KERNEL_ARCH" = "arm64" -a "$TARGET_ARCH" = "arm" ]; then
KERNEL_TOOLCHAIN="aarch64"
KERNEL_TOOLCHAIN="aarch64"
fi
if [ -n "$KERNEL_TOOLCHAIN" ]; then
TARGET_KERNEL_PREFIX=$TOOLCHAIN/lib/gcc-arm-$KERNEL_TOOLCHAIN/bin/$KERNEL_TOOLCHAIN-
TARGET_KERNEL_PREFIX=$KERNEL_TOOLCHAIN-none-elf-
else
TARGET_KERNEL_PREFIX=$TARGET_PREFIX
fi