only rebuild the package index when the *.ipk files have changed

SVN-Revision: 4395
This commit is contained in:
Mike Baker 2006-08-02 13:06:58 +00:00
parent b1c7dc4733
commit 01ad421020

View File

@ -55,6 +55,8 @@ install:
rm -rf $(BUILD_DIR)/root rm -rf $(BUILD_DIR)/root
$(MAKE) install-targets $(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) (cd $(PACKAGE_DIR); $(STAGING_DIR)/usr/bin/ipkg-make-index . > Packages)