printvars: remove "Nothing to be done for 'printvars'."
authorArnout Vandecappelle <arnout@mind.be>
Wed, 14 Jun 2017 22:11:34 +0000 (00:11 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 15 Jun 2017 09:54:31 +0000 (11:54 +0200)
When calling 'make printvars' without -s, it ends with
"Nothing to be done for 'printvars'." That's because the rule only
contains $(info ...) calls and no actual shell commands to execute.

To avoid this, make sure there is a shell command by adding :.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Makefile

index 320f74a30d4c5b7bb3573f1a1aed686fbfad09ad..88d98e04053ea78939a49475383288d538b2a274 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -955,7 +955,7 @@ $(BUILD_DIR)/.br2-external.in: $(BUILD_DIR)
 # displayed.
 .PHONY: printvars
 printvars:
-       @$(foreach V, \
+       @:$(foreach V, \
                $(sort $(if $(VARS),$(filter $(VARS),$(.VARIABLES)),$(.VARIABLES))), \
                $(if $(filter-out environment% default automatic, \
                                $(origin $V)), \