1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 03:32:25 +02:00

build package index in sdk (fixes #51)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2629 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2005-12-12 00:08:08 +00:00
parent 2f7c7acd6f
commit c8a899a125

View File

@ -12,7 +12,7 @@ PACKAGES_PREPARE:=$(foreach package,$(PACKAGES),$(package)-prepare)
PACKAGES_COMPILE:=$(foreach package,$(PACKAGES),$(package)-compile)
PACKAGES_CLEAN:=$(foreach package,$(PACKAGES),$(package)-clean)
all: compile
all: compile package_index
compile: $(PACKAGES_COMPILE)
clean: $(PACKAGES_CLEAN)
rm -rf $(BUILD_DIR)
@ -34,3 +34,9 @@ distclean: clean
$(BUILD_DIR):
mkdir -p $@
mkdir -p $(DL_DIR)
package_index:
(cd $(PACKAGE_DIR); \
$(STAGING_DIR)/usr/bin/ipkg-make-index . > Packages \
)