fix mac80211 build for platforms that have led support disabled

SVN-Revision: 8138
This commit is contained in:
Felix Fietkau 2007-07-23 22:10:23 +00:00
parent 7470547083
commit 3c2568a335

View 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