From: Florian Fainelli Date: Mon, 23 Jul 2007 12:44:43 +0000 (+0000) Subject: Make mac80211 compile even if CONFIG_LEDS_TRIGGERS is not defined in the kernel X-Git-Tag: kamikaze_7.07~32 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0d7cc5be127fb144ff39bda868ddea69b30a18c4;p=openwrt%2Fsvn-archive%2Fopenwrt.git Make mac80211 compile even if CONFIG_LEDS_TRIGGERS is not defined in the kernel SVN-Revision: 8126 --- diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile index 6efa9ab36a..5a97065537 100644 --- a/package/mac80211/Makefile +++ b/package/mac80211/Makefile @@ -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