summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2015-09-05 13:32:17 (GMT)
committerTony Theodore <tonyt@logyst.com>2015-09-05 13:32:17 (GMT)
commitd1e18ad8cb16fbb6f46cb6e37ac7eaed3bebb1e3 (patch)
treee6b6bc1bce565121910229694ea9843e302d7ea9 /Makefile
parent307efd50dab4c0d7573023625a7a2237bef2fa5f (diff)
downloadmxe-d1e18ad8cb16fbb6f46cb6e37ac7eaed3bebb1e3.zip
mxe-d1e18ad8cb16fbb6f46cb6e37ac7eaed3bebb1e3.tar.gz
mxe-d1e18ad8cb16fbb6f46cb6e37ac7eaed3bebb1e3.tar.bz2
Makefile: print package messages during build
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
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 \