From 83c0684ab269fbd83cf1d9e9dc0d771bfeb7d5b0 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 29 Oct 2013 21:24:11 +0100 Subject: use exit 1 for the last for loop, otherwise hudson thinks everything is build fine --- mk/build.mk | 9 +++++---- 1 file 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 -- cgit v1.2.3