X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=blobdiff_plain;f=include%2Fpackage.mk;h=43f175890008626f9a968ead2b9e36a8dd68d9b6;hp=385a84653741e1f24995bab3823f1980b63655fe;hb=c6753b594214c24fa26458539a74e82aa75e053e;hpb=7c84941e8e4bf18796144bb8c62a68ac9cc35f4a diff --git a/include/package.mk b/include/package.mk index 385a84653..43f175890 100644 --- a/include/package.mk +++ b/include/package.mk @@ -16,10 +16,12 @@ define Build/DefaultTargets ifeq ($(DUMP),) ifeq ($(CONFIG_AUTOREBUILD),y) ifneq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p $(PKG_BUILD_DIR) .),$(PKG_BUILD_DIR)) + $$(warning package has changed, need to rebuild $(subst $(TOPDIR)/,,$(PKG_BUILD_DIR))) $(PKG_BUILD_DIR)/.prepared: package-clean endif ifneq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p -x ipkg -x ipkg-install $(IPKG_$(1)) $(PKG_BUILD_DIR)),$(IPKG_$(1))) + $$(warning $(subst $(TOPDIR)/,,$(PKG_BUILD_DIR)) has changed, need to rebuild $(subst $(TOPDIR)/,,$(IPKG_$(1)))) $(PKG_BUILD_DIR)/.built: package-rebuild endif endif