blob: 35bb83d7cc3fc6ebc9f5fb4837029a8e05f45b43 (
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.36.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
|