tce-load -i sstrip

cd busybox-1.24.1

patch -Np0 -i ../busybox-1.24.1_tc_depmod.patch
patch -Np1 -i ../busybox-1.24.1_wget_3.patch

cp busybox-1.24.1_config.suid .config

make CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti"

mkdir /tmp/pkg

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

make CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti"

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