summaryrefslogtreecommitdiff
path: root/mk/build.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-28 20:25:02 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-28 20:25:02 +0100
commite94873e62decc77342e99b9c2712a84cbbc431e8 (patch)
tree3b0d46689ae3d4b075f2bf283910b263c58a2450 /mk/build.mk
parent393a40fa19c98a788a966805df0bf3202fb1b07b (diff)
another bulktoolchain fix
Diffstat (limited to 'mk/build.mk')
-rw-r--r--mk/build.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 375ccfb0b..790a59360 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -476,8 +476,8 @@ bulktoolchain:
mkdir -p ${TOPDIR}/firmware; \
( \
echo === building $$arch $$libc toolchain-$$arch on $$(date); \
- tarch=$$(echo $$arch|sed -e "s#el##" -e "s#eb##" -e "s#mips64.*#mips#" -e "s#hf##" -e "s#x86_64.*#x86_64#" ); \
- carch=$$(echo $$arch|sed -e "s#sh#sh4#" -e "s#hf##" -e "s#mips64n.*#mips64#" -e "s#mips64el.*#mips64el#" -e "s#x86_64.*#x86_64#" ); \
+ tarch=$$(echo $$arch|sed -e "s#sh4.*#sh#" -e "s#el##" -e "s#eb##" -e "s#mips64.*#mips#" -e "s#hf##" -e "s#x86_64.*#x86_64#" ); \
+ carch=$$(echo $$arch|sed -e "s#hf##" -e "s#mips64n.*#mips64#" -e "s#mips64el.*#mips64el#" -e 's#x86$$#i686#' -e "s#x86_64.*#x86_64#" ); \
$(GMAKE) prereq && \
$(GMAKE) ARCH=$$tarch SYSTEM=toolchain-$$arch LIBC=$$libc defconfig; \
tabi=$$(grep ^ADK_TARGET_ABI= .config|cut -d \" -f 2);\