From e0bdfe3931ab394eaa9c22b0c5811313f148b5e2 Mon Sep 17 00:00:00 2001 From: Wolfgang Wiedmeyer Date: Fri, 8 Jan 2016 15:34:30 +0100 Subject: use the GNU/Linux Distribution's arm toolchain for the kernel Signed-off-by: Wolfgang Wiedmeyer --- envsetup.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'envsetup.sh') diff --git a/envsetup.sh b/envsetup.sh index f0ae691..8e9b5a6 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -190,12 +190,10 @@ function setpaths() unset ANDROID_KERNEL_TOOLCHAIN_PATH case $ARCH in arm) - # Legacy toolchain configuration used for ARM kernel compilation - toolchaindir=arm/arm-eabi-$targetlegacygccversion/bin - if [ -d "$gccprebuiltdir/$toolchaindir" ]; then - export ARM_EABI_TOOLCHAIN="$gccprebuiltdir/$toolchaindir" - ANDROID_KERNEL_TOOLCHAIN_PATH="$ARM_EABI_TOOLCHAIN": - fi + # use the toolchain that comes with the Linux Distribution + export ARM_EABI_TOOLCHAIN="arm-none-eabi-" + ANDROID_KERNEL_TOOLCHAIN_PATH="$ARM_EABI_TOOLCHAIN": + ;; *) # No need to set ARM_EABI_TOOLCHAIN for other ARCHs -- cgit v1.1