tce-load -i compiletc sstrip perl5 wget -c https://busybox.net/downloads/busybox-1.34.1.tar.bz2 /bin/tar -C ${PWD} -xjvf busybox-1.34.1.tar.bz2 cd busybox-1.34.1/ cp ../busybox-1.34.1-extras_config .config make oldconfig make CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" mkdir -p busybox_extras/usr/local/bin sudo make CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" CONFIG_PREFIX=${PWD}/busybox_extras install cd busybox_extras/bin mv busybox ../usr/local/bin/busybox2 for Applet in * ; do sudo ln -sf ../usr/local/bin/busybox2 $Applet ; done rm -f date gunzip gzip ping ping6 rpm sh tar umount uncompress zcat ash cpio cd ../sbin/ rm -f logread syslogd for Applet in * ; do sudo ln -sf ../usr/local/bin/busybox2 $Applet ; done cd ../usr/bin rm -f ar basename bunzip2 bzcat bzip2 dc ftpget ftpput lzcat lzma microcom nc pgrep rpm2cpio setsid sort tee udpsvd unlzma unxz unzip xz xzcat for Applet in * ; do sudo ln -sf ../local/bin/busybox2 $Applet ; done cd ../sbin rm -f ether-wake fbset rdate for Applet in * ; do sudo ln -sf ../local/bin/busybox2 $Applet ; done cd ../local/bin/ for Applet in date gunzip gzip ping ping6 rpm sh tar umount uncompress zcat ash cpio logread syslogd ar basename bunzip2 bzcat bzip2 dc ftpget ftpput lzcat lzma microcom nc pgrep rpm2cpio setsid sort tee udpsvd unlzma unxz unzip xz xzcat ether-wake fbset rdate ; do ln -s busybox2 "$Applet" ; done cd ../../../../ mkdir -p busybox_extras/usr/local/share/doc/busybox_extras/ cp LICENSE busybox_extras/usr/local/share/doc/busybox_extras/copyright mksquashfs busybox_extras/ busybox_extras.tcz