blob: f2ac3eaf4a72cb7d79d6c3b8ea3ba1f3149ce171 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/dash
SOURCE_DIR=src
BUSYBOX_VERSION=1.36.1
OUT=out-arm64
#prepare
_PWD=`pwd`
mkdir -p $OUT_DIRECTORY
echo "Unarchive busbox"
cd $SOURCE_DIR
mkdir busybox-$BUSYBOX_VERSION-arm64
tar -xvf busybox-$BUSYBOX_VERSION.tar.bz2 --strip-components=1 -C busybox-$BUSYBOX_VERSION-arm64
cd busybox-$BUSYBOX_VERSION-arm64
cp ../../config/busybox-arm64.config ./.config
#make CROSS_COMPILE=aarch64-linux-gnu- -j4
make CROSS_COMPILE=aarch64-linux-gnu-
#save result
echo "Copy result to out-arm64"
cp ./busybox ../../$OUT
|