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

tce-load -i compiletc sstrip

wget https://www.busybox.net/downloads/busybox-1.36.0.tar.bz2

cd busybox-1.36.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 -Np1 -i ../busybox-1.33.0_modprobe.patch
patch -Np0 -i ../busybox-1.33.0_tc_depmod.patch

cp busybox-1.36.0_config.suid .config

make oldconfig

make CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" [0m 21.70s]

mkdir /tmp/pkg

sudo make CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -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.36.0_config.nosuid .config

make oldconfig

make CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" [2m 12.72s]

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