Makefile, reports.mk: use variable REPORT from ~/.mkimage/profiles.mk
You must use the GNU MAKE variable, not a shell variable, and must pass the REPORT variable to reports.mk.
This commit is contained in:
parent
9fba17972c
commit
187d0a5d51
4
Makefile
4
Makefile
@ -63,8 +63,8 @@ SHELL = /bin/bash
|
|||||||
say "** ARCH: $$ARCH"; \
|
say "** ARCH: $$ARCH"; \
|
||||||
fi; \
|
fi; \
|
||||||
if $(MAKE) -f main.mk ARCH=$$ARCH $@ $(POSTPROC); then \
|
if $(MAKE) -f main.mk ARCH=$$ARCH $@ $(POSTPROC); then \
|
||||||
if [ -n "$$REPORT" ]; then \
|
if [ -n "$(REPORT)" ]; then \
|
||||||
$(MAKE) -f reports.mk ARCH=$$ARCH; \
|
$(MAKE) -f reports.mk ARCH=$$ARCH REPORT=$(REPORT); \
|
||||||
fi; \
|
fi; \
|
||||||
else \
|
else \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
|
Loading…
Reference in New Issue
Block a user