hostapd: remove all object files on config changes
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 19 Jan 2010 18:23:06 +0000 (18:23 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 19 Jan 2010 18:23:06 +0000 (18:23 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19229 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/hostapd/Makefile

index 6b46796..342c751 100644 (file)
@@ -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
This page took 0.021328 seconds and 4 git commands to generate.