aboutsummaryrefslogtreecommitdiffstats
path: root/package/wpa_supplicant/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-08-20 15:58:55 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-08-20 15:58:55 +0000
commit7609c0ae88f79193493e69a42bee3fd81cc048a3 (patch)
treefee32aa15c470d6262e2140d762e0d444a3a56d5 /package/wpa_supplicant/Makefile
parent822615cb6b189377f8cdbe326f6a32dc8b3bd386 (diff)
downloadupstream-7609c0ae88f79193493e69a42bee3fd81cc048a3.tar.gz
upstream-7609c0ae88f79193493e69a42bee3fd81cc048a3.tar.bz2
upstream-7609c0ae88f79193493e69a42bee3fd81cc048a3.zip
wpa_supplicant: fix madwifi related config change handling
SVN-Revision: 17333
Diffstat (limited to 'package/wpa_supplicant/Makefile')
-rw-r--r--package/wpa_supplicant/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/wpa_supplicant/Makefile b/package/wpa_supplicant/Makefile
index 9c541551d9..39c66e72b9 100644
--- a/package/wpa_supplicant/Makefile
+++ b/package/wpa_supplicant/Makefile
@@ -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)