summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-06-11 11:10:01 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-06-11 11:10:01 +0000
commit90ce9746c230510f690407b7ccc1330bdca48bbd (patch)
tree997a256d431ebd3e1adf1ee7bed87b4ab00ab50b
parent63160370ee1d21f59360bffb03c7c871da9a2e09 (diff)
build: make building more strict, abort on errors in gccbuild phase
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0f0bf42bf..d082a9807 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,12 @@ all: build
build: gccbuild luabuild
gccbuild:
- for i in $(MODULES); do make -C$$i compile; done
+ for i in $(MODULES); do \
+ make -C$$i compile || { \
+ echo "*** Compilation of $$i failed!"; \
+ exit 1; \
+ }; \
+ done
luabuild: i18nbuild
for i in $(MODULES); do HOST=$(realpath host) make -C$$i luabuild; done