* Makefile.in (stmp-bsp): Exit when subdirs fail.

(install): Likewise.
This commit is contained in:
Corinna Vinschen 2011-01-10 12:08:35 +00:00
parent 84ca64afa6
commit ffe6f55e45
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-01-10 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (stmp-bsp): Exit when subdirs fail.
(install): Likewise.
2010-12-02 Jayant Sonar jayant.sonar@kpitcummins.com
Kaushik Phatak kaushik.phatak@kpitcummins.com

View File

@ -104,7 +104,7 @@ stmp-bsp: force
for dir in .. ${SUBDIRS}; do \
if [ x$$dir != x.. ]; then \
if [ -d $$dir ]; then \
(cd $$dir; $(MAKE) $(FLAGS_TO_PASS)); \
(cd $$dir; $(MAKE) $(FLAGS_TO_PASS)) || exit $$?; \
else true; fi; \
else true; fi; \
done
@ -115,7 +115,7 @@ install: force
for dir in .. ${SUBDIRS}; do \
if [ x$$dir != x.. ]; then \
if [ -d $$dir ]; then \
(cd $$dir; $(MAKE) $(FLAGS_TO_PASS) install); \
(cd $$dir; $(MAKE) $(FLAGS_TO_PASS) install) || exit $$?; \
else true; fi; \
else true; fi; \
done