浏览代码

break out on first error

Waldemar Brodkorb 11 年之前
父节点
当前提交
df3ac593de
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mk/build.mk

+ 1 - 1
mk/build.mk

@@ -572,7 +572,7 @@ release:
 			$(GMAKE) VERBOSE=1 all; if [ $$? -ne 0 ]; then touch .exit; exit 1;fi; \
 			rm .config; \
 		) 2>&1 | tee $(TOPDIR)/bin/$(SYSTEM)_$(ARCH)_$$libc/build.log; \
-		if [ -f .exit ];then break;fi \
+		if [ -f .exit ];then echo "Bulk build failed!"; rm .exit; exit 1;fi \
 	done
 
 # build all target architecture, target systems and libc combinations