aboutsummaryrefslogtreecommitdiff
path: root/scripts/busybox.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/busybox.sh')
-rw-r--r--scripts/busybox.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/busybox.sh b/scripts/busybox.sh
new file mode 100644
index 0000000..1fcbdd3
--- /dev/null
+++ b/scripts/busybox.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+. ./.vars
+VERSION=1.28.3
+BUILD_DIR="$build_dir/busybox-$VERSION"
+cd $build_dir
+if ! [ -d "$BUILD_DIR" ] ; then
+ bunzip2 -dc < $dist_dir/busybox-$VERSION.tar.bz2 | tar -xvf -
+fi
+cd $BUILD_DIR
+if ! [ -e ./.config ] ; then
+ cp "${base_dir}/busybox-config" ./.config
+fi
+make -j$(nproc)
+make install