diff options
Diffstat (limited to 'mk')
-rw-r--r-- | mk/build.mk | 5 |
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 |