diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2010-03-17 17:37:05 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2010-03-22 00:45:57 -0500 |
commit | 946b49ebcbf47e030a6e00ce1a699f3b055f638a (patch) | |
tree | fdad5c98ff4f025a11c150140e43091ff0624f04 /hw/kdrive | |
parent | 0820a6e2fb005b5f856dda25e1644f34fc994129 (diff) |
Catch errors in recursive relink targets
If make relink fails in a subdirectory, we need to catch the error
otherwise make will continue iterating the 'for' loop.
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Diffstat (limited to 'hw/kdrive')
-rw-r--r-- | hw/kdrive/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/kdrive/Makefile.am b/hw/kdrive/Makefile.am index 55d940f40..471ca89dd 100644 --- a/hw/kdrive/Makefile.am +++ b/hw/kdrive/Makefile.am @@ -27,4 +27,4 @@ SUBDIRS = \ DIST_SUBDIRS = fbdev ephyr src linux fake relink: - $(AM_V_at)for i in $(SERVER_SUBDIRS) ; do $(MAKE) -C $$i relink ; done + $(AM_V_at)for i in $(SERVER_SUBDIRS) ; do $(MAKE) -C $$i relink || exit 1 ; done |