summaryrefslogtreecommitdiff
path: root/package/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-06-21 23:12:50 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-06-21 23:12:50 +0000
commit6b876d25f19b3efe8d7ba5ca0eb911c42b795035 (patch)
tree331ac2053909fd19ae8d0323c93353b93035000c /package/mac80211
parentf9bf3a0e4fc3503c95a6ad605cdf85d192e4eb62 (diff)
downloadmtk-20170518-6b876d25f19b3efe8d7ba5ca0eb911c42b795035.zip
mtk-20170518-6b876d25f19b3efe8d7ba5ca0eb911c42b795035.tar.gz
mtk-20170518-6b876d25f19b3efe8d7ba5ca0eb911c42b795035.tar.bz2
fix mac80211 build
SVN-Revision: 7696
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index 30f6093..e44e687 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -15,6 +15,9 @@ PKG_RELEASE:=1
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
+ifeq ($(DUMP),)
+ include $(LINUX_DIR)/.config
+endif
define KernelPackage/mac80211
SUBMENU:=Wireless Drivers
@@ -41,7 +44,9 @@ endef
MAKE_OPTS:=-C "$(LINUX_DIR)" \
CROSS_COMPILE="$(TARGET_CROSS)" \
ARCH="$(LINUX_KARCH)" \
- EXTRA_CFLAGS="$(BUILDFLAGS)"
+ EXTRA_CFLAGS="$(BUILDFLAGS) -DCONFIG_MAC80211_LEDS" \
+ CONFIG_MAC80211=m \
+ CONFIG_MAC80211_LEDS=y
define Build/Compile
$(MAKE) $(MAKE_OPTS) SUBDIRS="$(PKG_BUILD_DIR)/wireless" modules