summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"