From: Felix Fietkau Date: Sun, 22 Feb 2009 23:54:05 +0000 (+0000) Subject: fix the host vs native stampfile dependencies to improve quilt support X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fyousong.git;a=commitdiff_plain;h=fb4a318970b6f314b6cc8b25747c7a2ee7cc9759 fix the host vs native stampfile dependencies to improve quilt support SVN-Revision: 14629 --- diff --git a/include/package.mk b/include/package.mk index 2b28b648b2..e33814e77d 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))