aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd/Makefile
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
commit43c96ad50ca615b02c84d990235ae15af2b43252 (patch)
treebd1282b80a81a94c329274818c42ee4d38cf0f6e /package/hostapd/Makefile
parent9e0bad9cb4b31cfec419ddc2959544f09e3eb868 (diff)
downloadupstream-43c96ad50ca615b02c84d990235ae15af2b43252.tar.gz
upstream-43c96ad50ca615b02c84d990235ae15af2b43252.tar.bz2
upstream-43c96ad50ca615b02c84d990235ae15af2b43252.zip
hostapd: remove all object files on config changes
SVN-Revision: 19229
Diffstat (limited to 'package/hostapd/Makefile')
-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