mirror of
https://github.com/openwrt/openwrt.git
synced 2026-11-23 21:26:13 +04:00
hostapd: Disable driver_nl80211 if mac80211 is not built
SVN-Revision: 10481
This commit is contained in:
1 parent
6443bc981a
commit
b09be5c15e
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user