mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
Rename KERNEL_LINARO_TOOLCHAIN to KERNEL_TOOLCHAIN
in case there is a need to use non-Linaro toolchain.
This commit is contained in:
parent
bd69cfddad
commit
a16579b131
@ -43,11 +43,11 @@ LIB_PREFIX=$SYSROOT_PREFIX/usr
|
||||
TARGET_PREFIX=$TOOLCHAIN/bin/$TARGET_NAME-
|
||||
|
||||
# use linaro toolchain on 64/32 split builds
|
||||
if [ -z "$KERNEL_LINARO_TOOLCHAIN" -a "$TARGET_KERNEL_ARCH" = "arm64" -a "$TARGET_ARCH" = "arm" ]; then
|
||||
KERNEL_LINARO_TOOLCHAIN="aarch64-linux-gnu"
|
||||
if [ -z "$KERNEL_TOOLCHAIN" -a "$TARGET_KERNEL_ARCH" = "arm64" -a "$TARGET_ARCH" = "arm" ]; then
|
||||
KERNEL_TOOLCHAIN="aarch64-linux-gnu"
|
||||
fi
|
||||
if [ -n "$KERNEL_LINARO_TOOLCHAIN" ]; then
|
||||
TARGET_KERNEL_PREFIX=$TOOLCHAIN/lib/gcc-linaro-$KERNEL_LINARO_TOOLCHAIN/bin/$KERNEL_LINARO_TOOLCHAIN-
|
||||
if [ -n "$KERNEL_TOOLCHAIN" ]; then
|
||||
TARGET_KERNEL_PREFIX=$TOOLCHAIN/lib/gcc-linaro-$KERNEL_TOOLCHAIN/bin/$KERNEL_TOOLCHAIN-
|
||||
else
|
||||
TARGET_KERNEL_PREFIX=$TARGET_PREFIX
|
||||
fi
|
||||
|
@ -45,9 +45,9 @@ esac
|
||||
|
||||
PKG_KERNEL_CFG_FILE=$(kernel_config_path)
|
||||
|
||||
if [ -n "$KERNEL_LINARO_TOOLCHAIN" ]; then
|
||||
PKG_DEPENDS_HOST="$PKG_DEPENDS_HOST gcc-linaro-$KERNEL_LINARO_TOOLCHAIN:host"
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET gcc-linaro-$KERNEL_LINARO_TOOLCHAIN:host"
|
||||
if [ -n "$KERNEL_TOOLCHAIN" ]; then
|
||||
PKG_DEPENDS_HOST="$PKG_DEPENDS_HOST gcc-linaro-$KERNEL_TOOLCHAIN:host"
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET gcc-linaro-$KERNEL_TOOLCHAIN:host"
|
||||
HEADERS_ARCH=$TARGET_ARCH
|
||||
fi
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
TARGET_CPU="cortex-a17"
|
||||
TARGET_FPU="neon-vfpv4"
|
||||
TARGET_FEATURES="32bit"
|
||||
KERNEL_LINARO_TOOLCHAIN="arm-linux-gnueabihf"
|
||||
KERNEL_TOOLCHAIN="arm-linux-gnueabihf"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
TARGET_CPU="cortex-a17"
|
||||
TARGET_FPU="neon-vfpv4"
|
||||
TARGET_FEATURES="32bit"
|
||||
KERNEL_LINARO_TOOLCHAIN="arm-linux-gnueabihf"
|
||||
KERNEL_TOOLCHAIN="arm-linux-gnueabihf"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user