+ EXTRA_CFLAGS="$(BUILDFLAGS)" \
+ $(foreach opt,$(CONFOPTS),CONFIG_$(opt)=m) \
+ CONFIG_NL80211=y \
+ CONFIG_MAC80211_LEDS=$(CONFIG_LEDS_TRIGGERS) \
+ LINUXINCLUDE="-I${CURDIR}/src/include -I$(LINUX_DIR)/include -include linux/autoconf.h" \
+
+ifneq ($(findstring 2.6.23,$(LINUX_VERSION)),)
+ define Build/Prepare
+ mkdir -p $(PKG_BUILD_DIR)/mac80211
+ $(CP) ./src/mac80211/* $(PKG_BUILD_DIR)/mac80211/
+ mkdir -p $(PKG_BUILD_DIR)/wireless
+ $(CP) ./src/wireless/* $(PKG_BUILD_DIR)/wireless/
+ endef