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 5a970655370cbcd6efb5cd840b5e1bb825fdaad2..c59aaa508b840ced29f71bd117b1b14c475a338c 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 \
        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
 
 ifneq ($(KERNEL_PATCHVER),2.6.21)
   define Build/Compile