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-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6cd7066846413ac75ea1f594f79145bc8d0f2d5b;p=openwrt%2Fstaging%2Fjow.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