diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-09-09 07:02:23 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2014-10-01 16:44:21 -0400 |
commit | 745a254322c898dadf019342cd7140f7867d2d0f (patch) | |
tree | 4a0352775efb32037d1f91f5810306207d3fc607 /Makefile | |
parent | 7ff525712acf9325e9acdb27bbc93049ea2e850c (diff) |
kbuild: use $(Q) for sub-make target
Since commit 066b7ed9558087a7957a1128f27d7a3462ff117f
(kbuild: Do not print the build directory with make -s),
"Q" is defined above the sub-make target.
This commit takes advantage of that and replaces
"$(if $(KBUILD_VERBOSE:1=),@)" with "$(Q)".
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Peter Foley <pefoley2@pefoley.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -171,8 +171,7 @@ $(filter-out _all sub-make $(CURDIR)/Makefile, $(MAKECMDGOALS)) _all: sub-make | |||
171 | @: | 171 | @: |
172 | 172 | ||
173 | sub-make: FORCE | 173 | sub-make: FORCE |
174 | $(if $(KBUILD_VERBOSE:1=),@)$(MAKE) -C $(KBUILD_OUTPUT) \ | 174 | $(Q)$(MAKE) -C $(KBUILD_OUTPUT) KBUILD_SRC=$(CURDIR) \ |
175 | KBUILD_SRC=$(CURDIR) \ | ||
176 | KBUILD_EXTMOD="$(KBUILD_EXTMOD)" -f $(CURDIR)/Makefile \ | 175 | KBUILD_EXTMOD="$(KBUILD_EXTMOD)" -f $(CURDIR)/Makefile \ |
177 | $(filter-out _all sub-make,$(MAKECMDGOALS)) | 176 | $(filter-out _all sub-make,$(MAKECMDGOALS)) |
178 | 177 | ||