From: florian 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: https://git.rohieb.name/openwrt.git/commitdiff_plain/3775796c70e236028b10e4b32545e49f6e454d70 Make mac80211 compile even if CONFIG_LEDS_TRIGGERS is not defined in the kernel git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8126 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile index 6efa9ab36..5a9706553 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