From: Markham Date: Fri, 20 Nov 2015 17:55:18 +0000 (+0100) Subject: rootfs.mk strip more dirs X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=c7f970fdecec77f00eaf9e75d02a029361037adf;p=bs-cst-neutrino-hd.git rootfs.mk strip more dirs --- 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) +