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"; \
|
||||
fi; \
|
||||
if $(MAKE) -f main.mk ARCH=$$ARCH $@ $(POSTPROC); then \
|
||||
if [ -n "$$REPORT" ]; then \
|
||||
$(MAKE) -f reports.mk ARCH=$$ARCH; \
|
||||
if [ -n "$(REPORT)" ]; then \
|
||||
$(MAKE) -f reports.mk ARCH=$$ARCH REPORT=$(REPORT); \
|
||||
fi; \
|
||||
else \
|
||||
exit 1; \
|
||||
|
Loading…
Reference in New Issue
Block a user