From 6db7fbe0187042f44a63a5c7dbeb9f116909d02e Mon Sep 17 00:00:00 2001 From: Marc Hartmayer Date: Mon, 2 Nov 2020 14:30:58 +0100 Subject: [PATCH] genprotimg: abort if one of the recursive targets is failing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Abort compilation as soon as one of the recursive targets is failing. Fixes: 65b9fc442c1a ("genprotimg: introduce new tool for the creation of PV images") Signed-off-by: Marc Hartmayer Signed-off-by: Jan Höppner --- genprotimg/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genprotimg/Makefile b/genprotimg/Makefile index 127bde29..4e81a63f 100644 --- a/genprotimg/Makefile +++ b/genprotimg/Makefile @@ -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)