summaryrefslogtreecommitdiff
path: root/mk/build.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-05-15 19:26:57 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-05-15 19:26:57 +0200
commitbbfa3ca2154df9d7a574787df8e1ad5234b1a9fc (patch)
treef4fb6c65be621b95a0a6496740e4e9c45cd18011 /mk/build.mk
parent239a77f800b2babfc05bcda959c04106eaca2394 (diff)
fix bulktoolchain target
Diffstat (limited to 'mk/build.mk')
-rw-r--r--mk/build.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 66a081e97..8dbd321d2 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -498,13 +498,14 @@ bulktoolchain:
mkdir -p $(TOPDIR)/bin/toolchain_$${arch}_$$libc; \
( \
echo === building $$arch $$libc toolchain-$$arch on $$(date); \
+ tarch=$$(echo $$arch|sed -e "s#el##" -e "s#eb##"); \
$(GMAKE) prereq && \
- $(GMAKE) ARCH=$$arch SYSTEM=toolchain-$$arch LIBC=$$libc defconfig; \
+ $(GMAKE) ARCH=$$tarch SYSTEM=toolchain-$$arch LIBC=$$libc defconfig; \
$(GMAKE) VERBOSE=1 all; if [ $$? -ne 0 ]; then touch .exit;fi; \
rm .config; \
) 2>&1 | tee $(TOPDIR)/bin/toolchain_$${arch}_$${libc}/build.log; \
if [ -f .exit ];then echo "Bulk build failed!"; rm .exit; exit 1;fi \
- done <${TOPDIR}/target/arch.lst ;\
+ done <${TOPDIR}/target/tarch.lst ;\
done
# build all target architecture, target systems and libc combinations