diff options
author | FreeArtMan <dos21h@gmail.com> | 2018-09-24 20:07:53 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2018-09-24 20:07:53 +0100 |
commit | 542359b2ebba3c3b7758c11b5c3598fbc4354615 (patch) | |
tree | 0b112a90ee446e91b38b7dba8a5b7d2606ba9c3c /create_tools | |
parent | 369c845112dd6f36ad973f1a68ee7e1596ff7dd3 (diff) | |
download | os201-542359b2ebba3c3b7758c11b5c3598fbc4354615.tar.gz os201-542359b2ebba3c3b7758c11b5c3598fbc4354615.zip |
add busybox
Diffstat (limited to 'create_tools')
-rwxr-xr-x | create_tools/create_busybox.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/create_tools/create_busybox.sh b/create_tools/create_busybox.sh new file mode 100755 index 0000000..a947744 --- /dev/null +++ b/create_tools/create_busybox.sh @@ -0,0 +1,21 @@ +#!/bin/dash + +SOURCE_DIR=src +BUSYBOX_VERSION=1.29.2 + +OUT_DIRECTORY=out + +#prepare +_PWD=`pwd` + +echo "Unarchive busbox" +cd $SOURCE_DIR +tar -xvf busybox-$BUSYBOX_VERSION.tar.bz2 +cd busybox-$BUSYBOX_VERSION +cp ../../config/busybox.config ./.config +make -j4 + +cp ./busybox ../../$OUT_DIRECTORY + +#save result +echo "Copy result to out" |