From 681f6c41cc48496e1ff2cda3d85a8437b60b47f1 Mon Sep 17 00:00:00 2001 From: Markham Date: Mon, 29 Feb 2016 14:32:59 +0100 Subject: [PATCH] cleanup target rootfs.mk --- make/rootfs.mk | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/make/rootfs.mk b/make/rootfs.mk index c91280e..1db8b2e 100755 --- a/make/rootfs.mk +++ b/make/rootfs.mk @@ -8,17 +8,8 @@ $(D)/rootfs: mkdir -p $(BOX)/oldroot rm -rf $(BOX)/include $(BOX)/mymodules rm -rf $(BOX)/share/{aclocal,gdb,locale,doc} # locale not (yet) needed by anything - rm -rf $(BOX)/lib/pkgconfig + rm -rf $(BOX)/lib/{pkgconfig,gettext} rm -f $(BOX)/lib/libvorbisenc* - if [ $(PLATFORM) = "apollo" ]; then \ - rm -rf $(BOX)/etc/init.d/rcS; \ - cp -a $(BOX)/etc/init.d/rcS-kernel-2.6.34.14-cnxt $(BOX)/etc/init.d/rcS; \ - rm -rf $(BOX)/etc/init.d/rcS-kernel-2.6.34.14-cnxt; \ - elif [ $(PLATFORM) = "kronos" ]; then \ - rm -rf $(BOX)/etc/init.d/rcS; \ - cp -a $(BOX)/etc/init.d/rcS-kernel-2.6.34.14-cnxt $(BOX)/etc/init.d/rcS; \ - rm -rf $(BOX)/etc/init.d/rcS-kernel-2.6.34.14-cnxt; \ - fi find $(BOX)/share/tuxbox/neutrino/locale/ -type f \ ! -name deutsch.locale ! -name english.locale | xargs --no-run-if-empty rm find $(BOX) -name .gitignore -type f -print0 | xargs --no-run-if-empty -0 rm -f @@ -30,7 +21,6 @@ $(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 -- 2.39.5