2016-11-27 13:51:48 +00:00
|
|
|
#! /bin/bash
|
|
|
|
# Update MicroPython source and prepare for build
|
|
|
|
|
|
|
|
cd /mnt/qnap2/data/Projects/MicroPython/micropython/
|
2016-11-27 13:56:27 +00:00
|
|
|
echo Working...
|
2016-11-27 13:51:48 +00:00
|
|
|
git checkout master
|
|
|
|
git pull origin master
|
2016-11-27 13:56:27 +00:00
|
|
|
git submodule update --init
|
2016-11-27 13:51:48 +00:00
|
|
|
cd mpy-cross
|
|
|
|
make clean
|
|
|
|
make -j 8
|
|
|
|
cd ../stmhal
|
|
|
|
make BOARD=PYBV11 clean
|
|
|
|
make BOARD=PYBV10 clean
|
|
|
|
make BOARD=PYBLITEV10 clean
|
|
|
|
cd ../esp8266
|
|
|
|
make clean
|
2016-11-27 13:56:27 +00:00
|
|
|
cd ../unix
|
|
|
|
make axtls
|
|
|
|
# If you're going to enable deplibs: see micropython/README
|
|
|
|
#make deplibs
|
|
|
|
make
|
|
|
|
|