summaryrefslogtreecommitdiff
path: root/package/hostapd/Makefile
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2008-02-17 17:02:02 +0000
committerMichael Büsch <mb@bu3sch.de>2008-02-17 17:02:02 +0000
commitb09be5c15e31b22604b2d36ca22876a0aa10177a (patch)
treeca2ac4569abd84abeff9b8206f0ffab165cad546 /package/hostapd/Makefile
parent6443bc981aed8e89869e1420d4d3b9ed7ac87f39 (diff)
downloadmtk-20170518-b09be5c15e31b22604b2d36ca22876a0aa10177a.zip
mtk-20170518-b09be5c15e31b22604b2d36ca22876a0aa10177a.tar.gz
mtk-20170518-b09be5c15e31b22604b2d36ca22876a0aa10177a.tar.bz2
hostapd: Disable driver_nl80211 if mac80211 is not built
SVN-Revision: 10481
Diffstat (limited to 'package/hostapd/Makefile')
-rw-r--r--package/hostapd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile
index f196828..7dfacc1 100644
--- a/package/hostapd/Makefile
+++ b/package/hostapd/Makefile
@@ -78,7 +78,7 @@ define Build/ConfigureTarget
$(PKG_BUILD_DIR)/src \
$(PKG_BUILD_DIR)/hostapd.$(1)/
$(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-mac80211),,$(SED) 's,^CONFIG_DRIVER_NL80211,#CONFIG_DRIVER_NL80211,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)
endef