mirror of
https://github.com/OpenSolo/OpenSolo.git
synced 2025-04-29 22:24:32 +02:00
BUILD: Move artoo build to beginning of script
This commit is contained in:
parent
b7c50e4ca4
commit
f181e149ce
@ -64,6 +64,15 @@ if ! $SCRIPT_MODE; then
|
||||
echo
|
||||
fi
|
||||
|
||||
## if -a arg is true, build the Artoo STM32 firmware and copy artoo.bin to the build.
|
||||
if $ARTOO_BUILD; then
|
||||
/vagrant/solo-builder/build_artoo.sh
|
||||
if [ ! $? -eq 0 ]
|
||||
then
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
## Run source_sync.sh script to pull in build sources
|
||||
/vagrant/solo-builder/source_sync.sh
|
||||
if [ ! $? -eq 0 ]; then
|
||||
@ -126,15 +135,6 @@ if ! $CLEAN_BUILD; then
|
||||
fi
|
||||
fi
|
||||
|
||||
## if -a arg is true, build the Artoo STM32 firmware and copy artoo.bin to the build.
|
||||
if $ARTOO_BUILD; then
|
||||
/vagrant/solo-builder/build_artoo.sh
|
||||
if [ ! $? -eq 0 ]
|
||||
then
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
## if -m arg is solo or both, build the Solo's IMX
|
||||
if [ $MACHINE_BUILD = 'solo' ] || [ $MACHINE_BUILD = 'both' ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user