blob: 0f49daeddd6823697f01ac8dcc2ccc2cd858d3e6 (
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
MPY_VERSION=1.20.0
OUT_DIRECTORY=out
#prepare
_PWD=`pwd`
echo "Unarchive busbox"
cd $SOURCE_DIR
tar -xvf micropython-$MPY_VERSION.tar.xz
cd micropython-$MPY_VERSION
#git submodule init
#git submodule update
patch -p1 < ../../config/0001-Mod-micropython.patch
cd ports/unix
make submodules
make -j4
#save result
echo "Copy result to out"
cp ./build-standard/micropython ../../../../$OUT_DIRECTORY
|