From: Mike Baker Date: Wed, 2 Aug 2006 13:06:58 +0000 (+0000) Subject: only rebuild the package index when the *.ipk files have changed X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=01ad421020f387b4090218e164ae4ae70b3f3399;p=openwrt%2Fstaging%2Fjow.git only rebuild the package index when the *.ipk files have changed SVN-Revision: 4395 --- diff --git a/openwrt/package/Makefile b/openwrt/package/Makefile index 85f852fd54..c2015b3a41 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)