Skip to content

Commit

Permalink
genprotimg: abort if one of the recursive targets is failing
Browse files Browse the repository at this point in the history
Abort compilation as soon as one of the recursive targets is failing.

Fixes: 65b9fc4 ("genprotimg: introduce new tool for the creation of PV images")
Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
  • Loading branch information
mhartmay authored and hoeppnerj committed Nov 6, 2020
1 parent 2f154fa commit 6db7fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genprotimg/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ clean: clean-recursive
$(RECURSIVE_TARGETS):
@target=`echo $@ |sed s/-recursive//`; \
for d in $(SUBDIRS); do \
$(MAKE) -C $$d $$target; \
$(MAKE) -C $$d $$target || exit 1; \
done

.PHONY: all install clean $(RECURSIVE_TARGETS)

0 comments on commit 6db7fbe

Please sign in to comment.