Commit 187d0a5d authored by Anton Midyukov's avatar Anton Midyukov

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.
parent 9fba1797
...@@ -63,8 +63,8 @@ SHELL = /bin/bash ...@@ -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; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment