Make mac80211 compile even if CONFIG_LEDS_TRIGGERS is not defined in the kernel
Make mac80211 compile even if CONFIG_LEDS_TRIGGERS is not defined in the kernel


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8126 3c298f89-4303-0410-b956-a3cf2f4a3e73

--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -46,7 +46,7 @@
 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
 

comments