From 187d0a5d5126497f535812ec75596c4fcbb73977 Mon Sep 17 00:00:00 2001 From: Anton Midyukov Date: Wed, 2 Jun 2021 03:46:06 +0700 Subject: [PATCH] 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. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 68258c79..1a806c0e 100644 --- a/Makefile +++ b/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; \