fix mac80211 build for platforms that have led support disabled
authorFelix Fietkau <nbd@openwrt.org>
Mon, 23 Jul 2007 22:10:23 +0000 (22:10 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 23 Jul 2007 22:10:23 +0000 (22:10 +0000)
SVN-Revision: 8138

package/mac80211/Makefile

index 5a97065..c59aaa5 100644 (file)
@@ -48,7 +48,7 @@ MAKE_OPTS:=-C "$(LINUX_DIR)" \
        ARCH="$(LINUX_KARCH)" \
        EXTRA_CFLAGS="$(BUILDFLAGS) -DCONFIG_MAC80211_LEDS -DCONFIG_LEDS_TRIGGERS" \
        CONFIG_MAC80211=m \
-       CONFIG_MAC80211_LEDS=y
+       CONFIG_MAC80211_LEDS=$(CONFIG_LEDS_TRIGGERS)
 
 ifneq ($(KERNEL_PATCHVER),2.6.21)
   define Build/Compile