diff options
author | Peter Foley <pefoley2@verizon.net> | 2011-07-04 18:55:23 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-07-20 17:08:08 +0200 |
commit | 0ff35771fc7a96a2244f38573b6d56199ec75056 (patch) | |
tree | b25be0330d55c7882578091e21f762ecf32a0c9c /scripts | |
parent | e78e8f2d8318851d0911039999c903a6082bef2e (diff) |
kbuild: silence generated makefile message
This patch silences the "make -C /usr/src/git O=/usr/src/git/build/."
message shown when using the generated makefile in KBUILD_OUTDIR.
Signed-off-by: Peter Foley <pefoley2@verizon.net>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mkmakefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/mkmakefile b/scripts/mkmakefile index 5325423ceab..0cc04426074 100644 --- a/scripts/mkmakefile +++ b/scripts/mkmakefile @@ -30,6 +30,13 @@ PATCHLEVEL = $4 lastword = \$(word \$(words \$(1)),\$(1)) makedir := \$(dir \$(call lastword,\$(MAKEFILE_LIST))) +ifeq ("\$(origin V)", "command line") +VERBOSE := \$(V) +endif +ifneq (\$(VERBOSE),1) +Q := @ +endif + MAKEARGS := -C $1 MAKEARGS += O=\$(if \$(patsubst /%,,\$(makedir)),\$(CURDIR)/)\$(patsubst %/,%,\$(makedir)) @@ -40,7 +47,7 @@ MAKEFLAGS += --no-print-directory all := \$(filter-out all Makefile,\$(MAKECMDGOALS)) all: - \$(MAKE) \$(MAKEARGS) \$(all) + \$(Q)\$(MAKE) \$(MAKEARGS) \$(all) Makefile:; |