mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-28 13:03:53 +02:00
wpa_supplicant: fix madwifi related config change handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17333 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
6a26e8186b
commit
36fe642cfd
@ -56,6 +56,8 @@ TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/madwifi $(if $(CONFIG_WPA_SUPPLICA
|
||||
|
||||
define Build/Configure
|
||||
cp $(CONFIG) $(PKG_BUILD_DIR)/wpa_supplicant/.config
|
||||
[ -f $(STAMP_CONFIGURED) ] || $(MAKE) -C $(PKG_BUILD_DIR)/wpa_supplicant clean
|
||||
rm -f $(PKG_BUILD_DIR)/.configured*
|
||||
$(if $(CONFIG_PACKAGE_kmod-madwifi),,$(SED) 's,^CONFIG_DRIVER_MADWIFI,#CONFIG_DRIVER_MADWIFI,g' $(PKG_BUILD_DIR)/wpa_supplicant/.config)
|
||||
$(if $(CONFIG_PACKAGE_kmod-hostap),,$(SED) 's,^CONFIG_DRIVER_HOSTAP,#CONFIG_DRIVER_HOSTAP,g' $(PKG_BUILD_DIR)/wpa_supplicant/.config)
|
||||
$(if $(CONFIG_WPA_SUPPLICANT_OPENSSL),$(SED) 's|^CONFIG_TLS.*|CONFIG_TLS=openssl|g' $(PKG_BUILD_DIR)/wpa_supplicant/.config)
|
||||
|
Loading…
Reference in New Issue
Block a user