summaryrefslogtreecommitdiff
path: root/schulung_tools/rootfs_basic/scripts/build_busybox.sh
blob: 6beaf3bba8990f8cca42978d694bf33a2d4fe8b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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