[git commit] buildsys: fix detection of silent make
Mike Frysinger
vapier at gentoo.org
Sun Jan 15 18:35:33 UTC 2012
commit: http://git.uclibc.org/uClibc/commit/?id=26242d9e53bcb0997000aa2a50c6c9a72f92541d
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
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 at gentoo.org>
---
Makerules | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makerules b/Makerules
index 6954b94..7153836 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 := - at false
DISP := sil
More information about the uClibc-cvs
mailing list