From d1e18ad8cb16fbb6f46cb6e37ac7eaed3bebb1e3 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Sat, 5 Sep 2015 23:32:17 +1000 Subject: Makefile: print package messages during build --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index ed0896a..9c7e47c 100644 --- a/Makefile +++ b/Makefile @@ -361,6 +361,8 @@ $(PREFIX)/$(3)/installed/$(1): $(TOP_DIR)/src/$(1).mk \ $(if $(value $(call LOOKUP_PKG_RULE,$(1),BUILD,$(3))), @$(PRINTF_FMT) '[build]' '$(1)' '$(3)', @$(PRINTF_FMT) '[no-build]' '$(1)' '$(3)') + $(if $(value $(call LOOKUP_PKG_RULE,$(1),MESSAGE,$(3))), + @$(PRINTF_FMT) '[message]' '$(1)' '$(3) $($(call LOOKUP_PKG_RULE,$(1),MESSAGE,$(3)))') @touch '$(LOG_DIR)/$(TIMESTAMP)/$(1)_$(3)' @ln -sf '$(TIMESTAMP)/$(1)_$(3)' '$(LOG_DIR)/$(1)_$(3)' @if ! (time $(MAKE) -f '$(MAKEFILE)' 'build-only-$(1)_$(3)') &> '$(LOG_DIR)/$(TIMESTAMP)/$(1)_$(3)'; then \ -- cgit v0.12