diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-06-21 23:12:50 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-06-21 23:12:50 +0000 |
commit | 35964080a9e219b3be9a1d631cb45352bc27533e (patch) | |
tree | ece15b4541134fe059914580cbbbab9e72a34652 /package | |
parent | e6a82371cf5e57ea322c86c610c71aa260bbbe65 (diff) | |
download | master-187ad058-35964080a9e219b3be9a1d631cb45352bc27533e.tar.gz master-187ad058-35964080a9e219b3be9a1d631cb45352bc27533e.tar.bz2 master-187ad058-35964080a9e219b3be9a1d631cb45352bc27533e.zip |
fix mac80211 build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7696 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/mac80211/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile index 30f6093226..e44e6870f4 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 |