aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd/Makefile
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2008-02-16 18:51:55 +0000
committerMichael Büsch <mb@bu3sch.de>2008-02-16 18:51:55 +0000
commit38a03804d4cfe1d2bc642cb9686095d8144a1967 (patch)
treebec57e7b12848bad64b391615efe828f442f24bc /package/hostapd/Makefile
parentfa657fadc0aff63b8ae1d5f0e640716a8144ad8d (diff)
downloadupstream-38a03804d4cfe1d2bc642cb9686095d8144a1967.tar.gz
upstream-38a03804d4cfe1d2bc642cb9686095d8144a1967.tar.bz2
upstream-38a03804d4cfe1d2bc642cb9686095d8144a1967.zip
Add hostapd support for nl80211 (mac80211 stack)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10469 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostapd/Makefile')
-rw-r--r--package/hostapd/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile
index f196828c97..e38887cf7a 100644
--- a/package/hostapd/Makefile
+++ b/package/hostapd/Makefile
@@ -77,6 +77,11 @@ define Build/ConfigureTarget
$(PKG_BUILD_DIR)/hostapd \
$(PKG_BUILD_DIR)/src \
$(PKG_BUILD_DIR)/hostapd.$(1)/
+ $(CP) ./files/driver_nl80211.c $(PKG_BUILD_DIR)/hostapd.$(1)/hostapd/
+ $(CP) ./files/radiotap.c $(PKG_BUILD_DIR)/hostapd.$(1)/hostapd/
+ $(CP) ./files/radiotap.h $(PKG_BUILD_DIR)/hostapd.$(1)/hostapd/
+ $(CP) ./files/radiotap_iter.h $(PKG_BUILD_DIR)/hostapd.$(1)/hostapd/
+
$(CP) ./files/$(1).config $(PKG_BUILD_DIR)/hostapd.$(1)/hostapd/.config
$(if $(CONFIG_PACKAGE_kmod-mac80211),,$(SED) 's,^CONFIG_DRIVER_DEVICESCAPE,#CONFIG_DRIVER_DEVICESCAPE,g' $(PKG_BUILD_DIR)/hostapd.$(1)/hostapd/.config)
$(if $(CONFIG_PACKAGE_kmod-madwifi),,$(SED) 's,^CONFIG_DRIVER_MADWIFI,#CONFIG_DRIVER_MADWIFI,g' $(PKG_BUILD_DIR)/hostapd.$(1)/hostapd/.config)