summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-08-02 13:06:58 +0000
committerMike Baker <mbm@openwrt.org>2006-08-02 13:06:58 +0000
commit01ad421020f387b4090218e164ae4ae70b3f3399 (patch)
tree75ad44b7df2a56c517755ab6f6925bbf28c41db4
parentb1c7dc4733ef3581c3f7d502b02bc1ba867bbb58 (diff)
downloadmtk-20170518-01ad421020f387b4090218e164ae4ae70b3f3399.zip
mtk-20170518-01ad421020f387b4090218e164ae4ae70b3f3399.tar.gz
mtk-20170518-01ad421020f387b4090218e164ae4ae70b3f3399.tar.bz2
only rebuild the package index when the *.ipk files have changed
SVN-Revision: 4395
-rw-r--r--openwrt/package/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/openwrt/package/Makefile b/openwrt/package/Makefile
index 85f852f..c2015b3 100644
--- a/openwrt/package/Makefile
+++ b/openwrt/package/Makefile
@@ -55,6 +55,8 @@ install:
rm -rf $(BUILD_DIR)/root
$(MAKE) install-targets
-index: FORCE
+index: $(PACKAGE_DIR)/Packages
+
+$(PACKAGE_DIR)/Packages: $(PACKAGE_DIR)/*.ipk
(cd $(PACKAGE_DIR); $(STAGING_DIR)/usr/bin/ipkg-make-index . > Packages)