summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-07-23 12:44:43 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-07-23 12:44:43 +0000
commit6cd7066846413ac75ea1f594f79145bc8d0f2d5b (patch)
tree582c663c00020a1d8fcc8a2518e9f218bb7cce2d
parentad00a1f38e1f4fb334758b679dc28886b0e308d7 (diff)
downloadmtk-20170518-6cd7066846413ac75ea1f594f79145bc8d0f2d5b.zip
mtk-20170518-6cd7066846413ac75ea1f594f79145bc8d0f2d5b.tar.gz
mtk-20170518-6cd7066846413ac75ea1f594f79145bc8d0f2d5b.tar.bz2
Make mac80211 compile even if CONFIG_LEDS_TRIGGERS is not defined in the kernel
SVN-Revision: 8126
-rw-r--r--package/mac80211/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index 6efa9ab..5a97065 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -46,7 +46,7 @@ endef
MAKE_OPTS:=-C "$(LINUX_DIR)" \
CROSS_COMPILE="$(TARGET_CROSS)" \
ARCH="$(LINUX_KARCH)" \
- EXTRA_CFLAGS="$(BUILDFLAGS) -DCONFIG_MAC80211_LEDS" \
+ EXTRA_CFLAGS="$(BUILDFLAGS) -DCONFIG_MAC80211_LEDS -DCONFIG_LEDS_TRIGGERS" \
CONFIG_MAC80211=m \
CONFIG_MAC80211_LEDS=y