Commit 51b6f1af authored by Anton Midyukov's avatar Anton Midyukov

Makefile: cosmetic improvement for ARCH/BRANCH output

This should save a few repetitive lines during multi image build, albeit the ideal result should only print out the BRANCH once as it's invariant for the whole build process (no, you can't just go ahead and echo it where it gets checked/defined since that's not the recipe body). Suggested by mike@
parent 0d3fb6df
......@@ -69,13 +69,12 @@ SHELL = /bin/bash
else \
say "** goal: $@"; \
fi; \
say "** BRANCH: $(BRANCH)"; \
for ARCH in $(ARCHES); do \
if [ -z "$(QUIET)" ]; then \
if [ "$$ARCH" != "$(firstword $(ARCHES))" ]; then \
say; \
fi; \
say "** ARCH: $$ARCH"; \
say "** BRANCH/ARCH: $(BRANCH)/$$ARCH"; \
fi; \
if [ -n "$(REPORT)" ] && [ -n "$(DEBUG)" ] && [ -z "$(CHECK)" ]; then \
REPORT_PATH=$$(mktemp --tmpdir mkimage-profiles.report.XXXXXXX); \
......
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