summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-09-07 12:48:22 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-09-07 12:48:22 +0000
commitde399b7bdfd5bf4756bd98c156506d11cbb01714 (patch)
tree4ab038cfa6c39da4ad76998cfb51ae924b9a6535 /include
parent5179959a25a5b5f37796b9695d1df162dc1f8eee (diff)
add extra rebuild check for development libraries
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4770 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/package.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/package.mk b/include/package.mk
index 515698d69..42ffcfbb3 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -39,6 +39,10 @@ define Build/DefaultTargets
touch $$@
ifdef Build/InstallDev
+ ifneq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p -x ipkg -x ipkg-install $(STAGING_DIR)/stampfiles/.$(PKG_NAME)-installed $(PKG_BUILD_DIR)),$(STAGING_DIR)/stampfiles/.$(PKG_NAME)-installed)
+ $(PKG_BUILD_DIR)/.built: package-rebuild
+ endif
+
$(STAGING_DIR)/stampfiles/.$(PKG_NAME)-installed: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/stampfiles
$(call Build/InstallDev)