summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-08-07 09:14:45 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-08-07 09:14:45 +0000
commit655d95675b05c5457ac43115675198a25b7d7adb (patch)
treef8e5c71b0e95b6bf17c2ac9f2a55f3a135fc9d32 /package
parentc82f121949ec6e959d692b7000b3f4e976dd8210 (diff)
Fix the mac80211 installation, remove the in-kernel mac80211 package, thanks to Daniel Gimpelevich
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8369 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/wireless.mk13
-rw-r--r--package/mac80211/Makefile9
2 files changed, 9 insertions, 13 deletions
diff --git a/package/kernel/modules/wireless.mk b/package/kernel/modules/wireless.mk
index 031077467..ff5f08a1b 100644
--- a/package/kernel/modules/wireless.mk
+++ b/package/kernel/modules/wireless.mk
@@ -45,19 +45,6 @@ define KernelPackage/ieee80211-softmac
endef
$(eval $(call KernelPackage,ieee80211-softmac))
-define KernelPackage/mac80211
- TITLE:=mac80211 (Devicescape) support
- DEPENDS:=@LINUX_2_6
- KCONFIG:=CONFIG_MAC80211
- FILES:= \
- $(LINUX_DIR)/net/wireless/cfg80211.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/net/mac80211/mac80211.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/net/mac80211/rc80211_simple.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,20,cfg80211 mac80211 rc80211_simple)
- SUBMENU:=$(WIMENU)
- endef
-$(eval $(call KernelPackage,mac80211))
-
define KernelPackage/net-bcm43xx
TITLE:=Broadcom BCM43xx driver
DESCRIPTION:=\\\
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index c59aaa508..a4175ec01 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -57,4 +57,13 @@ ifneq ($(KERNEL_PATCHVER),2.6.21)
endef
endif
+define Build/InstallDev
+ mkdir -p $(STAGING_DIR)/usr/include/mac80211
+ $(CP) $(PKG_BUILD_DIR)/mac80211/{hostapd_ioctl,ieee80211_common}.h $(STAGING_DIR)/usr/include/mac80211
+endef
+
+define Build/UninstallDev
+ rm -rf $(STAGING_DIR)/usr/include/mac80211
+endef
+
$(eval $(call KernelPackage,mac80211))