hostapd: remove all object files on config changes
SVN-Revision: 19229
This commit is contained in:
parent
9e0bad9cb4
commit
43c96ad50c
1 changed files with 1 additions and 2 deletions
|
@ -83,9 +83,8 @@ endef
|
||||||
ifneq ($(wildcard $(PKG_BUILD_DIR)/.config_*),$(subst .configured_,.config_,$(STAMP_CONFIGURED)))
|
ifneq ($(wildcard $(PKG_BUILD_DIR)/.config_*),$(subst .configured_,.config_,$(STAMP_CONFIGURED)))
|
||||||
$(warning $(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
|
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/hostapd
|
||||||
rm -f $(PKG_BUILD_DIR)/hostapd/*.o
|
|
||||||
rm -f $(PKG_BUILD_DIR)/src/drivers/drivers.o
|
|
||||||
rm -f $(PKG_BUILD_DIR)/.config_*
|
rm -f $(PKG_BUILD_DIR)/.config_*
|
||||||
touch $(subst .configured_,.config_,$(STAMP_CONFIGURED))
|
touch $(subst .configured_,.config_,$(STAMP_CONFIGURED))
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in a new issue