]> git.webhop.me Git - bs-cst-neutrino-hd.git/commitdiff
rootfs.mk strip more dirs
authorMarkham <markham001@gmx.de>
Fri, 20 Nov 2015 17:55:18 +0000 (18:55 +0100)
committerMarkham <markham001@gmx.de>
Fri, 20 Nov 2015 17:55:18 +0000 (18:55 +0100)
make/rootfs.mk

index ac21658e080c78ac21a307a072f83be2efe55488..6cda2db6d30d69706ce31d3b717e8e221af3c590 100755 (executable)
@@ -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)
+