projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ff5257
)
kbuild: use $(Q) for sub-make target
author
Masahiro Yamada
<
[email protected]
>
Tue, 9 Sep 2014 11:02:23 +0000
(20:02 +0900)
committer
Michal Marek
<
[email protected]
>
Wed, 1 Oct 2014 20:44:21 +0000
(22:44 +0200)
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 <
[email protected]
>
Acked-by: Peter Foley <
[email protected]
>
Signed-off-by: Michal Marek <
[email protected]
>
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 9eea3c0424db09b65ba35ad121779545d2da72d9..edc1269ee24c38327790744935de3b4497cdf87a 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-171,8
+171,7
@@
$(filter-out _all sub-make $(CURDIR)/Makefile, $(MAKECMDGOALS)) _all: sub-make
@:
sub-make: FORCE
- $(if $(KBUILD_VERBOSE:1=),@)$(MAKE) -C $(KBUILD_OUTPUT) \
- KBUILD_SRC=$(CURDIR) \
+ $(Q)$(MAKE) -C $(KBUILD_OUTPUT) KBUILD_SRC=$(CURDIR) \
KBUILD_EXTMOD="$(KBUILD_EXTMOD)" -f $(CURDIR)/Makefile \
$(filter-out _all sub-make,$(MAKECMDGOALS))