X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/3d7b088997a372140d946c7e2ee9fdd3be9a0ee4..2c09b394870dc15b8f5f94478631c6b64c0a8b36:/include/package.mk diff --git a/include/package.mk b/include/package.mk index 2b28b648b..e33814e77 100644 --- a/include/package.mk +++ b/include/package.mk @@ -69,7 +69,7 @@ define Build/DefaultTargets $(if $(strip $(PKG_SOURCE_URL)),$(call Download,default)) $(call Build/Autoclean) - $(STAMP_PREPARED): $(HOST_STAMP_INSTALLED) + $(STAMP_PREPARED): @-rm -rf $(PKG_BUILD_DIR) @mkdir -p $(PKG_BUILD_DIR) $(foreach hook,$(Hooks/Prepare/Pre),$(call $(hook))$(sep)) @@ -77,7 +77,7 @@ define Build/DefaultTargets $(foreach hook,$(Hooks/Prepare/Post),$(call $(hook))$(sep)) touch $$@ - $(STAMP_CONFIGURED): $(STAMP_PREPARED) + $(STAMP_CONFIGURED): $(STAMP_PREPARED) $(HOST_STAMP_INSTALLED) $(foreach hook,$(Hooks/Configure/Pre),$(call $(hook))$(sep)) $(Build/Configure) $(foreach hook,$(Hooks/Configure/Post),$(call $(hook))$(sep))