summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-08-16 23:43:56 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-08-16 23:43:56 +0000
commitc6753b594214c24fa26458539a74e82aa75e053e (patch)
treec9457b64d32f6334d785fffa7c04de7f2048e59b /include
parent7c84941e8e4bf18796144bb8c62a68ac9cc35f4a (diff)
Show error messages when collecting the package info
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4573 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/package.mk2
1 files changed, 2 insertions, 0 deletions
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