From ac7a3f365518cef9418648e340ddfcaecd8cab0b Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 29 Mar 2021 12:36:39 +0200 Subject: [PATCH] - target-rootfs: update rootfs-cleanup --- make/target-rootfs.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/make/target-rootfs.mk b/make/target-rootfs.mk index 3ef38606..04539b8b 100644 --- a/make/target-rootfs.mk +++ b/make/target-rootfs.mk @@ -104,8 +104,9 @@ rootfs-cleanup: $(ROOTFS) rm -rf $(ROOTFS)$(libdir)/sigc++* rm -rf $(ROOTFS)$(libdir)/glib-2.0 rm -f $(ROOTFS)$(libdir)/libvorbisenc* - find $(ROOTFS) \( -name .gitignore -o -name .gitkeep \) -type f -print0 | xargs --no-run-if-empty -0 rm -f - find $(ROOTFS) \( -name Makefile.am \) -type f -print0 | xargs --no-run-if-empty -0 rm -f + rm -rf $(ROOTFS)/.git + find $(ROOTFS) -name .gitignore -type f -print0 | xargs --no-run-if-empty -0 rm -f + find $(ROOTFS) -name Makefile.am -type f -print0 | xargs --no-run-if-empty -0 rm -f find $(ROOTFS)$(base_libdir) \( -name '*.a' -o -name '*.la' \) -print0 | xargs --no-run-if-empty -0 rm -f find $(ROOTFS)$(libdir) \( -name '*.a' -o -name '*.la' \) -print0 | xargs --no-run-if-empty -0 rm -f @$(call MESSAGE,"After cleanup: $$(du -sh $(ROOTFS))")