From 01ad421020f387b4090218e164ae4ae70b3f3399 Mon Sep 17 00:00:00 2001 From: Mike Baker Date: Wed, 2 Aug 2006 13:06:58 +0000 Subject: [PATCH] only rebuild the package index when the *.ipk files have changed SVN-Revision: 4395 --- openwrt/package/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openwrt/package/Makefile b/openwrt/package/Makefile index 85f852fd54d4..c2015b3a411e 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) -- 2.30.2