aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-10-05 21:52:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-10-05 21:52:05 +0000
commit21a246d5d6b0ff0b1c632d7700a31886c5f09b23 (patch)
tree31251b93d5d51e7ad886b67b9380ecca8144f603 /package
parente2e8d55dcceef88f4c6e366ee690e7ab4beed14b (diff)
downloadupstream-21a246d5d6b0ff0b1c632d7700a31886c5f09b23.tar.gz
upstream-21a246d5d6b0ff0b1c632d7700a31886c5f09b23.tar.bz2
upstream-21a246d5d6b0ff0b1c632d7700a31886c5f09b23.zip
add option for cleaning all ipkg info before the image build
SVN-Revision: 9151
Diffstat (limited to 'package')
-rw-r--r--package/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/Makefile b/package/Makefile
index aa059a7d23..1df4537dba 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -35,6 +35,7 @@ $(curdir)/rootfs-prepare: $(TMP_DIR)/.build
@-find $(TARGET_DIR) -name CVS | $(XARGS) rm -rf
@-find $(TARGET_DIR) -name .svn | $(XARGS) rm -rf
@-find $(TARGET_DIR) -name '.#*' | $(XARGS) rm -f
+ $(if $(CONFIG_CLEAN_IPKG),rm -rf $(TARGET_DIR)/usr/lib/ipkg)
$(curdir)/index: FORCE
@(cd $(PACKAGE_DIR); $(SCRIPT_DIR)/ipkg-make-index.sh . > Packages)