summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2018-09-24 20:07:53 +0100
committerFreeArtMan <dos21h@gmail.com>2018-09-24 20:07:53 +0100
commit542359b2ebba3c3b7758c11b5c3598fbc4354615 (patch)
tree0b112a90ee446e91b38b7dba8a5b7d2606ba9c3c
parent369c845112dd6f36ad973f1a68ee7e1596ff7dd3 (diff)
downloados201-542359b2ebba3c3b7758c11b5c3598fbc4354615.tar.gz
os201-542359b2ebba3c3b7758c11b5c3598fbc4354615.zip
add busybox
-rwxr-xr-xcreate_tools/create_busybox.sh21
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"