summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-07-29 09:38:08 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-07-29 09:38:08 +0000
commitc67a12711d965ad95d08488f3bc08563ee19fe8b (patch)
tree4abc2bac353655cbc70e24025a445c70dbe75467
parent1646bd096c08dfac8123d2f36cc63383cbedb1d1 (diff)
downloadmtk-20170518-c67a12711d965ad95d08488f3bc08563ee19fe8b.zip
mtk-20170518-c67a12711d965ad95d08488f3bc08563ee19fe8b.tar.gz
mtk-20170518-c67a12711d965ad95d08488f3bc08563ee19fe8b.tar.bz2
mac80211: add support for verbose builds using V=sc
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37597
-rw-r--r--package/kernel/mac80211/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile
index a1ea8c2..ddf2237 100644
--- a/package/kernel/mac80211/Makefile
+++ b/package/kernel/mac80211/Makefile
@@ -1299,6 +1299,10 @@ MAKE_OPTS:= -C "$(PKG_BUILD_DIR)" \
KERNEL_SUBLEVEL=$(lastword $(subst ., ,$(KERNEL_PATCHVER))) \
KBUILD_LDFLAGS_MODULE_PREREQ=
+ifneq ($(findstring c,$(OPENWRT_VERBOSE)),)
+ MAKE_OPTS += V=1
+endif
+
define ConfigVars
$(subst $(space),,$(foreach opt,$(config-$(1)),CPTCFG_$(opt)=$(1)
))