summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-08-01 08:21:15 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-08-01 08:21:15 +0000
commit24179e6814d43a8a646ca723b9f549bc68bfa718 (patch)
treea77c45804a2699d25046b9c2c5c1c151f722a38b
parentcb7605f7bac41f50032bbcb459d0e0edf9f27753 (diff)
downloadmtk-20170518-24179e6814d43a8a646ca723b9f549bc68bfa718.zip
mtk-20170518-24179e6814d43a8a646ca723b9f549bc68bfa718.tar.gz
mtk-20170518-24179e6814d43a8a646ca723b9f549bc68bfa718.tar.bz2
fix package/index
SVN-Revision: 8294
-rw-r--r--package/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/Makefile b/package/Makefile
index 153ca65..9b400ff 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -16,10 +16,10 @@ $(curdir)/builddirs-install:=. $(sort $(package-y))
$(curdir)/install:=$(curdir)/install-cleanup
-$(curdir)/cleanup:
+$(curdir)/cleanup: $(TMP_DIR)/.build
rm -rf $(BUILD_DIR)/root
-$(curdir)/rootfs-prepare:
+$(curdir)/rootfs-prepare: $(TMP_DIR)/.build
@if [ -d $(TOPDIR)/files ]; then \
$(CP) $(TOPDIR)/files/. $(BUILD_DIR)/root; \
fi
@@ -34,6 +34,8 @@ $(curdir)/rootfs-prepare:
@-find $(BUILD_DIR)/root -name CVS | $(XARGS) rm -rf
@-find $(BUILD_DIR)/root -name .svn | $(XARGS) rm -rf
@-find $(BUILD_DIR)/root -name '.#*' | $(XARGS) rm -f
+
+$(curdir)/index: FORCE
@(cd $(PACKAGE_DIR); $(SCRIPT_DIR)/ipkg-make-index.sh . > Packages)
$(curdir)/flags-install:= -j1