diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-01-08 15:34:30 +0100 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-01-08 15:34:30 +0100 |
commit | e0bdfe3931ab394eaa9c22b0c5811313f148b5e2 (patch) | |
tree | 8b731379e99d07efeb7922368d73075ef92b855d /envsetup.sh | |
parent | 599873b301727b3281eac873d9c679d01015b35f (diff) | |
download | build-e0bdfe3931ab394eaa9c22b0c5811313f148b5e2.tar.gz build-e0bdfe3931ab394eaa9c22b0c5811313f148b5e2.tar.bz2 build-e0bdfe3931ab394eaa9c22b0c5811313f148b5e2.zip |
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.sh | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/envsetup.sh b/envsetup.sh index f0ae691c1..8e9b5a644 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 |