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
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; \
......
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