summaryrefslogtreecommitdiff
path: root/create_tools/create_busybox.sh
blob: f0203166edab0e3877ed4ff256b3aeed48494123 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/dash

SOURCE_DIR=src
BUSYBOX_VERSION=1.31.1

OUT_DIRECTORY=out

#prepare
_PWD=`pwd`

echo "Unarchive busbox"
cd $SOURCE_DIR
tar -xvf busybox-$BUSYBOX_VERSION.tar.bz2
cd busybox-$BUSYBOX_VERSION
cp ../../config/busybox.config ./.config
make -j4

#save result
echo "Copy result to out"
cp ./busybox ../../$OUT_DIRECTORY