summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-01-15 13:31:31 -0500
committerMike Frysinger <vapier@gentoo.org>2012-01-15 13:35:33 -0500
commit26242d9e53bcb0997000aa2a50c6c9a72f92541d (patch)
tree241687db6d6afdeee63b0d1bed651bb79ba6ce3b /Makerules
parentfe19f3c5e3464b3d6c36ef1bbbc33c4e4e803cda (diff)
buildsys: fix detection of silent make
The MAKEFLAGS variable contains all the flags without the leading dash. From the GNU make manual: This variable is set up automatically by make to contain the flag letters that make received. Thus, if you do ‘make -ks’ then MAKEFLAGS gets the value ‘ks’. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index 6954b94cf..7153836cf 100644
--- a/Makerules
+++ b/Makerules
@@ -58,7 +58,7 @@ SHELL_SET_X := set +x
define rel_srcdir
$(shell $(CONFIG_SHELL) $(top_srcdir)/extra/scripts/relative_path.sh $(@D) .)
endef
-ifneq ($(findstring -s,$(MAKEFLAGS)),)
+ifneq ($(findstring s,$(MAKEFLAGS)),)
export MAKE_IS_SILENT := y
SECHO := -@false
DISP := sil