repo/busybox/build

12 lines
320 B
Text
Raw Normal View History

2021-07-07 17:27:54 +03:00
wget -O busybox-1.33.1.tar.bz2 https://busybox.net/downloads/busybox-1.33.1.tar.bz2
tar -xf busybox-1.33.1.tar.bz2
2021-07-07 23:13:40 +03:00
cd busybox-1.33.1
make defconfig
LDFLAGS="--static" make
2021-07-04 22:57:22 +03:00
make install DESTDIR="$1"
2021-07-08 18:28:30 +03:00
cd "_install"
install linuxrc "$1"/linuxrc
rsync -a ./bin/ "$1"/bin/
rsync -a ./sbin/ "$1"/sbin/
rsync -a ./usr "$1"/usr/