]> git.webhop.me Git - bs-cst-neutrino-hd.git/commitdiff
cleanup target rootfs.mk
authorMarkham <markham001@gmx.de>
Mon, 29 Feb 2016 13:32:59 +0000 (14:32 +0100)
committerMarkham <markham001@gmx.de>
Mon, 29 Feb 2016 13:32:59 +0000 (14:32 +0100)
make/rootfs.mk

index c91280e1558165344688267ff4cc1673eb544646..1db8b2e739fce972892b9ea43f369fdda3474dbf 100755 (executable)
@@ -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