luci-0.9: merge r4835
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 11 Jun 2009 11:10:35 +0000 (11:10 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 11 Jun 2009 11:10:35 +0000 (11:10 +0000)
Makefile

index 0f0bf42bfd5c14cbaf7d7aead5576f70a5a503eb..d082a9807706543b1f4a5ecf79594b48ea4dcef9 100644 (file)
--- 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