repo/busybox/build

11 lines
215 B
Text
Raw Permalink Normal View History

make defconfig
LDFLAGS="--static" make
2021-07-04 22:57:22 +03:00
make install DESTDIR="$1"
2021-07-25 21:31:17 +03:00
rsync -a ./busybox/ "$1"/bin/
2021-07-08 18:28:30 +03:00
cd "_install"
install linuxrc "$1"/linuxrc
cp -npr ./bin/ "$1"/bin/
cp -npr ./sbin/ "$1"/sbin/
cp -npr ./usr "$1"/usr/