summaryrefslogtreecommitdiffstats
path: root/envsetup.sh
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-01-08 15:34:30 +0100
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-01-08 15:34:30 +0100
commite0bdfe3931ab394eaa9c22b0c5811313f148b5e2 (patch)
tree8b731379e99d07efeb7922368d73075ef92b855d /envsetup.sh
parent599873b301727b3281eac873d9c679d01015b35f (diff)
downloadbuild-e0bdfe3931ab394eaa9c22b0c5811313f148b5e2.zip
build-e0bdfe3931ab394eaa9c22b0c5811313f148b5e2.tar.gz
build-e0bdfe3931ab394eaa9c22b0c5811313f148b5e2.tar.bz2
use the GNU/Linux Distribution's arm toolchain for the kernel
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
Diffstat (limited to 'envsetup.sh')
-rw-r--r--envsetup.sh10
1 files changed, 4 insertions, 6 deletions
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