aboutsummaryrefslogtreecommitdiffstats
path: root/package/Makefile
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
commit8503e97d7e73c5dcb490fa37d3faa270ffb04627 (patch)
treec952c0104b2c990d54dcaa069e60ab2cce701cab /package/Makefile
parent7af397b32ad02f3b1e39994758968f781ec9f94b (diff)
downloadupstream-8503e97d7e73c5dcb490fa37d3faa270ffb04627.tar.gz
upstream-8503e97d7e73c5dcb490fa37d3faa270ffb04627.tar.bz2
upstream-8503e97d7e73c5dcb490fa37d3faa270ffb04627.zip
only rebuild the package index when the *.ipk files have changed
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4395 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/Makefile')
-rw-r--r--package/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/Makefile b/package/Makefile
index 85f852fd54..c2015b3a41 100644
--- a/package/Makefile
+++ b/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)