aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/Makefile
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 /package/kernel/mac80211/Makefile
parent1646bd096c08dfac8123d2f36cc63383cbedb1d1 (diff)
downloadupstream-c67a12711d965ad95d08488f3bc08563ee19fe8b.tar.gz
upstream-c67a12711d965ad95d08488f3bc08563ee19fe8b.tar.bz2
upstream-c67a12711d965ad95d08488f3bc08563ee19fe8b.zip
mac80211: add support for verbose builds using V=sc
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37597
Diffstat (limited to 'package/kernel/mac80211/Makefile')
-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 a1ea8c24c0..ddf2237ebd 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)
))