*** need to compile in tc-11.x as glibc-2.32 does not support rpc ***

tce-load -i compiletc sstrip

wget https://busybox.net/downloads/busybox-1.33.0.tar.bz2

cd busybox-1.33.0

patch -Np1 -i ../busybox-1.27.1-wget-make-default-timeout-configurable.patch
patch -Np1 -i ../busybox-1.29.3_root_path.patch
patch -Np0 -i ../busybox-1.31.1-vi.backward_search.patch
patch -Np1 -i ../busybox-1.33.0_modprobe.patch
patch -Np0 -i ../busybox-1.33.0_tc_depmod.patch
patch -Np1 -i ../busybox-1.33.0_skip-loop-control.patch

cp busybox-1.33.0_config.suid .config

make oldconfig

make CC="gcc -flto -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" [0m 23.37s]

mkdir /tmp/pkg

sudo make CC="gcc -flto -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" CONFIG_PREFIX=/tmp/pkg install

sudo mv /tmp/pkg/bin/busybox /tmp/pkg/bin/busybox.suid

make your busybox binary setuid root

cp busybox-1.33.0_config.nosuid .config

make CC="gcc -flto -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" [2m 22.32s]

sudo make CC="gcc -flto -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" CONFIG_PREFIX=/tmp/pkg install