summaryrefslogtreecommitdiffstats
path: root/make/include
diff options
context:
space:
mode:
Diffstat (limited to 'make/include')
-rw-r--r--make/include/base.rules8
-rw-r--r--make/include/report.defs7
2 files changed, 11 insertions, 4 deletions
diff --git a/make/include/base.rules b/make/include/base.rules
index f12886432..fd90d7769 100644
--- a/make/include/base.rules
+++ b/make/include/base.rules
@@ -1,16 +1,16 @@
-.PHONY: report.main report.gcc report.modules
+.PHONY: report.main report.gcc report.modules report.var report.true
report.modules::
-.PHONY: report.main
report.main:
@$(MAKE) report.true REPORT=main
-.PHONY: report.gcc
report.gcc:
@$(MAKE) report.true REPORT=gcc
+report.var:
+ @$(MAKE) report.true REPORT=var
+
## needed for nested make (which drives each report)
-.PHONY: report.true
report.true:
@true
diff --git a/make/include/report.defs b/make/include/report.defs
index 858c45523..7962a6631 100644
--- a/make/include/report.defs
+++ b/make/include/report.defs
@@ -53,3 +53,10 @@ $(info #########################################################################
$(info $(foreach v,$(sort $(filter GCC.%,$(.VARIABLES))),$(call fn.PRINTVAR,$v)))
$(info )
endif
+
+## report: var
+##
+ifeq (var,$(REPORT))
+$(info $(call fn.PRINTVAR,$(NAME)))
+$(info )
+endif