mirror of https://github.com/ArduPilot/ardupilot
mk: support uavcan submodules
first recursive git submodules. yuck.
This commit is contained in:
parent
9c2d4b6a7f
commit
dbefd87dd0
|
@ -2,7 +2,7 @@
|
|||
|
||||
echo "Checking modules"
|
||||
|
||||
MODULE_LIST="PX4Firmware PX4NuttX uavcan mavlink"
|
||||
MODULE_LIST="PX4Firmware PX4NuttX mavlink uavcan uavcan/dsdl uavcan/libuavcan/dsdl_compiler/pyuavcan"
|
||||
|
||||
NEED_INIT=0
|
||||
|
||||
|
@ -28,7 +28,12 @@ done
|
|||
git submodule status
|
||||
exit 1
|
||||
}
|
||||
git submodule update || {
|
||||
(cd modules/uavcan && git submodule init) || {
|
||||
echo "init of uavcan failed"
|
||||
git submodule status
|
||||
exit 1
|
||||
}
|
||||
git submodule update --recursive || {
|
||||
echo "git submodule update failed"
|
||||
git submodule status
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue