X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e593f00fc1336aa9e68e7758a48062ae186eaa01..1d08fd80b11f9eef3dff1a9e0ebb8b8fa02ed44a:/target/imagebuilder/files/Makefile?ds=inline diff --git a/target/imagebuilder/files/Makefile b/target/imagebuilder/files/Makefile index 002274aca..902568b6d 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