summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnout Vandecappelle <arnout@mind.be>2017-06-15 00:11:34 +0200
committerPeter Korsgaard <peter@korsgaard.com>2017-06-15 11:54:31 +0200
commitcd036c978a2e32ac84ae1060289fd2d352b9b940 (patch)
tree0a02f9bec2c9feb973eba1c0d984cab5bb24f39f
parente016b79c4e3822be5aa14e3edde1dc92eee757b8 (diff)
downloadbuildroot-cd036c978a2e32ac84ae1060289fd2d352b9b940.tar.gz
buildroot-cd036c978a2e32ac84ae1060289fd2d352b9b940.zip
printvars: remove "Nothing to be done for 'printvars'."
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>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 320f74a30d..88d98e0405 100644
--- 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)), \
OpenPOWER on IntegriCloud