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

SVN-Revision: 8126
This commit is contained in:
Florian Fainelli 2007-07-23 12:44:43 +00:00
parent ad00a1f38e
commit 6cd7066846

View 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