summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-09-07 12:48:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-09-07 12:48:22 +0000
commit4ea7de50302b3f33a9ad2bcbda984161d0f3023b (patch)
tree3602a18ccebf645e3efcfb6b458d03e8e470c64f
parent2b318cea5fd5f76be38cd468c755860b1e591c77 (diff)
downloadmtk-20170518-4ea7de50302b3f33a9ad2bcbda984161d0f3023b.zip
mtk-20170518-4ea7de50302b3f33a9ad2bcbda984161d0f3023b.tar.gz
mtk-20170518-4ea7de50302b3f33a9ad2bcbda984161d0f3023b.tar.bz2
add extra rebuild check for development libraries
SVN-Revision: 4770
-rw-r--r--openwrt/include/package.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/openwrt/include/package.mk b/openwrt/include/package.mk
index 515698d..42ffcfb 100644
--- a/openwrt/include/package.mk
+++ b/openwrt/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)