]> Git Repo - uclibc-ng.git/commitdiff
buildsys: fix detection of silent make
authorMike Frysinger <[email protected]>
Sun, 15 Jan 2012 18:31:31 +0000 (13:31 -0500)
committerMike Frysinger <[email protected]>
Sun, 15 Jan 2012 18:35:33 +0000 (13:35 -0500)
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 <[email protected]>
Makerules

index 6954b94cf2c13b54c106c509cf9ec4692f40eeb7..7153836cfce9bb0b4a155de95991ec39c9631b03 100644 (file)
--- 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
This page took 0.044138 seconds and 4 git commands to generate.