From ebaff257b93f234db455503fb15cfc0cf5a4e078 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Wed, 14 Feb 2018 13:31:57 +0100 Subject: [PATCH] config/path: define TARGET_KERNEL_PREFIX Signed-off-by: Matthias Reichl --- config/path | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/path b/config/path index fcca196b45..c0f62ef277 100644 --- a/config/path +++ b/config/path @@ -37,6 +37,13 @@ SYSROOT_PREFIX=$TOOLCHAIN/$TARGET_NAME/sysroot LIB_PREFIX=$SYSROOT_PREFIX/usr TARGET_PREFIX=$TOOLCHAIN/bin/$TARGET_NAME- +# use linaro toolchain on 64/32 split builds +if [ "$TARGET_KERNEL_ARCH" = "arm64" -a "$TARGET_ARCH" = "arm" ]; then + TARGET_KERNEL_PREFIX=$TOOLCHAIN/lib/gcc-linaro-aarch64-linux-gnu/bin/aarch64-linux-gnu- +else + TARGET_KERNEL_PREFIX=$TARGET_PREFIX +fi + FAKEROOT_SCRIPT=$BUILD/.fakeroot if [ -z "$INSTALL" ]; then