diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2013-10-29 21:24:11 +0100 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2013-10-29 21:24:11 +0100 |
commit | 83c0684ab269fbd83cf1d9e9dc0d771bfeb7d5b0 (patch) | |
tree | 69404c5c86de2938279bd3f92b6d4aa4e0247eda | |
parent | a852b043567e2f161899dfcc28ab080bcfe4ec66 (diff) |
use exit 1 for the last for loop, otherwise hudson thinks everything is build fine
-rw-r--r-- | mk/build.mk | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/mk/build.mk b/mk/build.mk index 104811819..b44247005 100644 --- a/mk/build.mk +++ b/mk/build.mk @@ -559,8 +559,9 @@ bulktoolchain: $(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 \ + if [ -f .exit ];then break;fi \ done <${TOPDIR}/target/tarch.lst ;\ + if [ -f .exit ];then echo "Bulk build failed!"; rm .exit; exit 1;fi \ done # build all target architecture, target systems and libc combinations @@ -581,7 +582,7 @@ bulk: done; \ if [ -f .exit ]; then break;fi \ done <${TOPDIR}/target/arch.lst ;\ - if [ -f .exit ];then echo "Bulk build failed!"; rm .exit; break;fi \ + if [ -f .exit ];then echo "Bulk build failed!"; rm .exit; exit 1;fi \ done bulkall: @@ -601,7 +602,7 @@ bulkall: done; \ if [ -f .exit ]; then break;fi \ done <${TOPDIR}/target/arch.lst ;\ - if [ -f .exit ];then echo "Bulk build failed!"; rm .exit; break;fi \ + if [ -f .exit ];then echo "Bulk build failed!"; rm .exit; exit 1;fi \ done bulkallmod: @@ -621,7 +622,7 @@ bulkallmod: done; \ if [ -f .exit ]; then break;fi \ done <${TOPDIR}/target/arch.lst ;\ - if [ -f .exit ];then echo "Bulk build failed!"; cat .exit;rm .exit; break;fi \ + if [ -f .exit ];then echo "Bulk build failed!"; cat .exit;rm .exit; exit 1;fi \ done ${TOPDIR}/bin/tools/pkgmaker: $(TOPDIR)/tools/adk/pkgmaker.c $(TOPDIR)/tools/adk/sortfile.c $(TOPDIR)/tools/adk/strmap.c |