From 3ed308ebba9166e3238b4a96c68d89a662342800 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 19 Jan 2010 18:23:06 +0000 Subject: hostapd: remove all object files on config changes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19229 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hostapd/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile index 6b4679616..342c7519d 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 -- cgit v1.2.3