diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-03-05 17:50:49 -0800 |
---|---|---|
committer | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-03-05 17:50:49 -0800 |
commit | 95dd5950491a4f60265494969731c019fcd7f9bc (patch) | |
tree | 4c9d3d60fda79628de281e544156b3b85dba8083 /Makefile | |
parent | 892db6942ae0f5f7295b54be8d924020e99a51fc (diff) |
do not ignore build failures in subdirs of iproute2
if a file fails to compile in a subdir of iproute2 fails (say "tunnel.c" in
the "ip" dir), the top level makefile does not abort:
all: Config
@for i in $(SUBDIRS); \
do $(MAKE) $(MFLAGS) -C $$i; done
the attached patch inserts a 'set -e' so that if the $(MAKE) fails, the all
target fails as well
-mike
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -32,7 +32,8 @@ SUBDIRS=lib ip tc misc netem genl LIBNETLINK=../lib/libnetlink.a ../lib/libutil.a all: Config - @for i in $(SUBDIRS); \ + @set -e; \ + for i in $(SUBDIRS); \ do $(MAKE) $(MFLAGS) -C $$i; done Config: |