X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=include%2Fhost-build.mk;h=f4b6b449e1ef7a67552f4f50b1a94f9a2750f1ab;hb=8aab380dded91464d39d1ad1221b75d8a50ed539;hp=d83446558eccbfcfac8c61a79a2921f5f564e25c;hpb=196ad55bd2bdad8c5c86249afd4b1cec04855d35;p=openwrt-10.03%2F.git diff --git a/include/host-build.mk b/include/host-build.mk index d83446558..f4b6b449e 100644 --- a/include/host-build.mk +++ b/include/host-build.mk @@ -80,11 +80,11 @@ ifneq ($(strip $(PKG_SOURCE)),) $(STAMP_PREPARED): $(DL_DIR)/$(PKG_SOURCE) endif -ifneq ($(CONFIG_AUTOREBUILD),) +ifneq ($(if $(QUILT),,$(CONFIG_AUTOREBUILD)),) define HostBuild/Autoclean $(PKG_BUILD_DIR)/.dep_files: $(STAMP_PREPARED) $(call rdep,${CURDIR} $(PKG_FILE_DEPEND),$(STAMP_PREPARED)) - $(call rdep,$(PKG_BUILD_DIR),$(STAMP_BUILT),$(PKG_BUILD_DIR)/.dep_files, -and -not -path "/.*" -and -not -path "*/ipkg*") + $(if $(filter prepare,$(MAKECMDGOALS)),,$(call rdep,$(PKG_BUILD_DIR),$(STAMP_BUILT),$(PKG_BUILD_DIR)/.dep_files, -and -not -path "/.*" -and -not -path "*/ipkg*")) endef endif @@ -105,7 +105,6 @@ define HostBuild $(STAMP_BUILT): $(STAMP_CONFIGURED) $(call Build/Compile) - @$(NO_TRACE_MAKE) $(PKG_BUILD_DIR)/.dep_files touch $$@ $(STAGING_DIR)/stampfiles/.host_$(PKG_NAME)-installed: $(STAMP_BUILT)