aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2011-07-04 18:55:23 -0400
committerMichal Marek <mmarek@suse.cz>2011-07-20 11:08:08 -0400
commit0ff35771fc7a96a2244f38573b6d56199ec75056 (patch)
treeb25be0330d55c7882578091e21f762ecf32a0c9c /scripts
parente78e8f2d8318851d0911039999c903a6082bef2e (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/mkmakefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/mkmakefile b/scripts/mkmakefile
index 5325423ceab4..0cc044260744 100644
--- a/scripts/mkmakefile
+++ b/scripts/mkmakefile
@@ -30,6 +30,13 @@ PATCHLEVEL = $4
30lastword = \$(word \$(words \$(1)),\$(1)) 30lastword = \$(word \$(words \$(1)),\$(1))
31makedir := \$(dir \$(call lastword,\$(MAKEFILE_LIST))) 31makedir := \$(dir \$(call lastword,\$(MAKEFILE_LIST)))
32 32
33ifeq ("\$(origin V)", "command line")
34VERBOSE := \$(V)
35endif
36ifneq (\$(VERBOSE),1)
37Q := @
38endif
39
33MAKEARGS := -C $1 40MAKEARGS := -C $1
34MAKEARGS += O=\$(if \$(patsubst /%,,\$(makedir)),\$(CURDIR)/)\$(patsubst %/,%,\$(makedir)) 41MAKEARGS += O=\$(if \$(patsubst /%,,\$(makedir)),\$(CURDIR)/)\$(patsubst %/,%,\$(makedir))
35 42
@@ -40,7 +47,7 @@ MAKEFLAGS += --no-print-directory
40all := \$(filter-out all Makefile,\$(MAKECMDGOALS)) 47all := \$(filter-out all Makefile,\$(MAKECMDGOALS))
41 48
42all: 49all:
43 \$(MAKE) \$(MAKEARGS) \$(all) 50 \$(Q)\$(MAKE) \$(MAKEARGS) \$(all)
44 51
45Makefile:; 52Makefile:;
46 53