From c7f970fdecec77f00eaf9e75d02a029361037adf Mon Sep 17 00:00:00 2001 From: Markham Date: Fri, 20 Nov 2015 18:55:18 +0100 Subject: [PATCH] rootfs.mk strip more dirs --- make/rootfs.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/make/rootfs.mk b/make/rootfs.mk index ac21658..6cda2db 100755 --- a/make/rootfs.mk +++ b/make/rootfs.mk @@ -28,5 +28,9 @@ $(D)/rootfs: @echo " ****************************************************************************** " find $(BOX)/bin -type f -print0 | xargs -0 $(TARGET)-strip || true find $(BOX)/sbin -type f -print0 | xargs -0 $(TARGET)-strip || true + find $(BOX)/usr -type f -print0 | xargs -0 $(TARGET)-strip || true find $(BOX)/lib -path $(BOX)/lib/modules -prune -o -type f -print0 | xargs -0 $(TARGET)-strip || true + find $(BOX)/var/bin -type f -print0 | xargs -0 $(TARGET)-strip 2>/dev/null || true + find $(BOX)/var/sbin -type f -print0 | xargs -0 $(TARGET)-strip 2>/dev/null || true du -sh $(BOX) + -- 2.39.5