repo/busybox/build
2021-08-28 10:05:07 +02:00

10 lines
215 B
Text
Executable file

make defconfig
LDFLAGS="--static" make
make install DESTDIR="$1"
rsync -a ./busybox/ "$1"/bin/
cd "_install"
install linuxrc "$1"/linuxrc
cp -npr ./bin/ "$1"/bin/
cp -npr ./sbin/ "$1"/sbin/
cp -npr ./usr "$1"/usr/