create a package index
create a package index

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4337 3c298f89-4303-0410-b956-a3cf2f4a3e73

file:a/Makefile -> file:b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -116,6 +116,7 @@
 	$(MAKE) package/compile
 	$(MAKE) package/install
 	$(MAKE) target/install
+	$(MAKE) package/index
 
 clean: FORCE
 	rm -rf build_* bin

--- a/package/Makefile
+++ b/package/Makefile
@@ -55,4 +55,7 @@
 	rm -rf $(BUILD_DIR)/root
 	$(MAKE) install-targets
 
+index: FORCE
+	(cd $(PACKAGE_DIR); $(STAGING_DIR)/usr/bin/ipkg-make-index . > Packages)
 
+

comments