summaryrefslogtreecommitdiff
path: root/target/imagebuilder
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-08-01 23:58:11 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-08-01 23:58:11 +0000
commite5e17a1ce8b3a41a4a8339bf6d8d60322de7b736 (patch)
treee4855e286b7d7bb5e719f42ca86a5575276c2c7d /target/imagebuilder
parente79f073de9274053aad1e463f3bd5843c7ef765e (diff)
downloadmtk-20170518-e5e17a1ce8b3a41a4a8339bf6d8d60322de7b736.zip
mtk-20170518-e5e17a1ce8b3a41a4a8339bf6d8d60322de7b736.tar.gz
mtk-20170518-e5e17a1ce8b3a41a4a8339bf6d8d60322de7b736.tar.bz2
imagebuilder: clean opkg files if requested (patch from #9866)
SVN-Revision: 27872
Diffstat (limited to 'target/imagebuilder')
-rw-r--r--target/imagebuilder/files/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/imagebuilder/files/Makefile b/target/imagebuilder/files/Makefile
index 002274a..902568b 100644
--- a/target/imagebuilder/files/Makefile
+++ b/target/imagebuilder/files/Makefile
@@ -140,6 +140,7 @@ package_postinst: FORCE
IPKG_INSTROOT=$(TARGET_DIR) $(which bash) ./etc/rc.common $$script enable; \
done || true; \
)
+ $(if $(CONFIG_CLEAN_IPKG),rm -rf $(TARGET_DIR)/usr/lib/opkg)
build_image: FORCE
@echo