summaryrefslogtreecommitdiff
path: root/schulung_tools/rootfs_basic/scripts/build_busybox.sh
diff options
context:
space:
mode:
Diffstat (limited to 'schulung_tools/rootfs_basic/scripts/build_busybox.sh')
-rwxr-xr-xschulung_tools/rootfs_basic/scripts/build_busybox.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/schulung_tools/rootfs_basic/scripts/build_busybox.sh b/schulung_tools/rootfs_basic/scripts/build_busybox.sh
new file mode 100755
index 0000000..6beaf3b
--- /dev/null
+++ b/schulung_tools/rootfs_basic/scripts/build_busybox.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -e
+
+export CROSS_COMPILE=/opt/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
+
+cd busybox-1.28.1
+
+make defconfig
+make -j 4
+make install
+
+# check dependencies
+${CROSS_COMPILE}objdump -x busybox | grep NEEDED