Makefile: no build means no reports
Trying to extract reports for a failed build is a bad idea.
This commit is contained in:
parent
aed6540702
commit
7221c53ccf
7
Makefile
7
Makefile
@ -43,7 +43,10 @@ export NUM_TARGETS := $(words $(MAKECMDGOALS))
|
||||
for ARCH in $(ARCHES); do \
|
||||
if [ "$$ARCH" != "$(firstword $(ARCHES))" ]; then say; fi; \
|
||||
say "** ARCH: $$ARCH" >&2; \
|
||||
$(MAKE) -f main.mk ARCH=$$ARCH $@ $(POSTPROC); \
|
||||
$(MAKE) -f reports.mk ARCH=$$ARCH; \
|
||||
if $(MAKE) -f main.mk ARCH=$$ARCH $@ $(POSTPROC); then \
|
||||
if [ -n "$$REPORT" ]; then \
|
||||
$(MAKE) -f reports.mk ARCH=$$ARCH; \
|
||||
fi; \
|
||||
fi; \
|
||||
done; \
|
||||
if [ "$$n" -lt "$(NUM_TARGETS)" ]; then say; fi
|
||||
|
Loading…
Reference in New Issue
Block a user