Make mac80211 compile even if CONFIG_LEDS_TRIGGERS is not defined in the kernel
authorFlorian Fainelli <florian@openwrt.org>
Mon, 23 Jul 2007 12:44:43 +0000 (12:44 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 23 Jul 2007 12:44:43 +0000 (12:44 +0000)
SVN-Revision: 8126

package/mac80211/Makefile

index 6efa9ab36a43e1efab0ba92f0d29d5088ea31533..5a970655370cbcd6efb5cd840b5e1bb825fdaad2 100644 (file)
@@ -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