From: Jo-Philipp Wich Date: Thu, 11 Jun 2009 11:10:01 +0000 (+0000) Subject: build: make building more strict, abort on errors in gccbuild phase X-Git-Tag: 0.10.0~1558 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=90ce9746c230510f690407b7ccc1330bdca48bbd;ds=inline build: make building more strict, abort on errors in gccbuild phase --- 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