Makefile: be more quiet when make -s is used
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 30 Sep 2009 15:39:44 +0000 (17:39 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 30 Sep 2009 15:39:44 +0000 (17:39 +0200)
Somehow got lost in the recent reorganisation.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Makefile

index 3895473a91e4de4c5ab4734f87deba7dc8b3abf2..a7f0b887a341adccd5429c84b7cc830fd6e68500 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -202,6 +202,9 @@ BASE_TARGETS:=uclibc
 endif
 TARGETS:=
 
+# silent mode requested?
+QUIET:=$(if $(findstring s,$(MAKEFLAGS)),-q)
+
 # Strip off the annoying quoting
 ARCH:=$(call qstrip,$(BR2_ARCH))
 ifeq ($(ARCH),xtensa)