summaryrefslogtreecommitdiffstats
path: root/envsetup.sh
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-01-08 15:34:30 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-01-02 18:17:02 +0100
commitfb544738afe54575997056bc1f1e95923416ebd0 (patch)
tree90002555c28d7b019579ddcfbe59e1e1975d2368 /envsetup.sh
parent0cb9d3cfed8d10297dd1600bfc6ca2896f613652 (diff)
downloadbuild-fb544738afe54575997056bc1f1e95923416ebd0.zip
build-fb544738afe54575997056bc1f1e95923416ebd0.tar.gz
build-fb544738afe54575997056bc1f1e95923416ebd0.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 4405cb5..adfad9a 100644
--- a/envsetup.sh
+++ b/envsetup.sh
@@ -196,12 +196,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