aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-01-19 18:23:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-01-19 18:23:06 +0000
commitd508091f1e32827d96ace1170e6ecb7493eaaf41 (patch)
tree7986bcff33e95220ae41d5b89c79d0c493086802
parent5c5349aa698b93914e954185df726f9e87ad915a (diff)
downloadupstream-d508091f1e32827d96ace1170e6ecb7493eaaf41.tar.gz
upstream-d508091f1e32827d96ace1170e6ecb7493eaaf41.tar.bz2
upstream-d508091f1e32827d96ace1170e6ecb7493eaaf41.zip
hostapd: remove all object files on config changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19229 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/hostapd/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile
index 6b46796168..342c7519d5 100644
--- a/package/hostapd/Makefile
+++ b/package/hostapd/Makefile
@@ -83,9 +83,8 @@ endef
ifneq ($(wildcard $(PKG_BUILD_DIR)/.config_*),$(subst .configured_,.config_,$(STAMP_CONFIGURED)))
$(warning $(wildcard $(PKG_BUILD_DIR)/.config_*) != $(subst .configured_,.config_,$(STAMP_CONFIGURED)))
define Build/Configure/rebuild
+ $(FIND) $(PKG_BUILD_DIR) -name \*.o | $(XARGS) rm -f
rm -f $(PKG_BUILD_DIR)/hostapd/hostapd
- rm -f $(PKG_BUILD_DIR)/hostapd/*.o
- rm -f $(PKG_BUILD_DIR)/src/drivers/drivers.o
rm -f $(PKG_BUILD_DIR)/.config_*
touch $(subst .configured_,.config_,$(STAMP_CONFIGURED))
endef