From 74f93d82fc36156602164b540349c1c83fe4e2b6 Mon Sep 17 00:00:00 2001 From: John Ogness Date: Thu, 5 Apr 2018 09:27:36 +0200 Subject: add rootfs_basic scripts These scripts are provided to participants after the training to allow them to quickly/easily reproduce the many steps of creating a simple root filesystem from scratch. These scripts also serve as an excellent reference for trainers to follow during the live excercises. Signed-off-by: John Ogness --- schulung_tools/rootfs_basic/scripts/build_busybox.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 schulung_tools/rootfs_basic/scripts/build_busybox.sh (limited to 'schulung_tools/rootfs_basic/scripts/build_busybox.sh') 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 -- cgit v1.2.3