Update build scripts to handle submodules.

pull/25/head
Peter Hinch 2021-09-12 14:49:42 +01:00
rodzic c1c2cb7c71
commit 0d27d95e80
4 zmienionych plików z 6 dodań i 2 usunięć

Wyświetl plik

@ -20,6 +20,8 @@ board.
The scripts will require minor edits to reflect your directory structure.
Scripts updated 12 Sep 2021 to fix handling of submodules.
###### [Main README](../README.md)
# Frozen modules and manifests

Wyświetl plik

@ -19,6 +19,7 @@ then
fi
fi
make submodules
if make -j 8 FROZEN_MANIFEST=$MANIFEST
then
sleep 1

Wyświetl plik

@ -5,6 +5,7 @@ cd $MPDIR
echo Working...
git checkout master
git pull origin master --tags
git submodule sync
git submodule update --init
cd mpy-cross
make clean
@ -20,6 +21,5 @@ cd ../esp8266
make clean
cd ../unix
make clean
# If you're going to enable deplibs: see micropython/README
#make deplibs
make submodules
make -j 8

Wyświetl plik

@ -39,6 +39,7 @@ then
then
make BOARD=$BOARD clean
fi
make submodules
if make -j 8 BOARD=$BOARD FROZEN_MANIFEST=$MANIFEST MICROPY_VFS_LFS2=1 && pyb_boot $MPDEVICE
then
sleep 1