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
master
Mike Baker 2006-08-02 13:06:58 +00:00
parent 7af397b32a
commit 8503e97d7e
1 changed files with 3 additions and 1 deletions

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)