mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 10:26:52 +08:00
Turn instructions into a makefile command, allowing Windows GUI kids to create a make target in Eclipse just for this
This commit is contained in:
@@ -216,6 +216,10 @@ $(NUTTX_SRC):
|
|||||||
checksubmodules:
|
checksubmodules:
|
||||||
$(Q) (./Tools/check_submodules.sh)
|
$(Q) (./Tools/check_submodules.sh)
|
||||||
|
|
||||||
|
.PHONY: updatesubmodules
|
||||||
|
updatesubmodules:
|
||||||
|
$(Q) (git submodule update)
|
||||||
|
|
||||||
#
|
#
|
||||||
# Testing targets
|
# Testing targets
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ if [ -d NuttX/nuttx ];
|
|||||||
if [ "$STATUSRETVAL" == "" ]; then
|
if [ "$STATUSRETVAL" == "" ]; then
|
||||||
echo "Checked mavlink submodule, correct version found"
|
echo "Checked mavlink submodule, correct version found"
|
||||||
else
|
else
|
||||||
echo "mavlink sub repo not at correct version. Try 'git submodule update'"
|
echo "mavlink sub repo not at correct version. Try 'make updatesubmodules'"
|
||||||
echo "or follow instructions on http://pixhawk.org/dev/git/submodules"
|
echo "or follow instructions on http://pixhawk.org/dev/git/submodules"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
@@ -22,7 +22,7 @@ if [ -d mavlink/include/mavlink/v1.0 ];
|
|||||||
if [ "$STATUSRETVAL" == "" ]; then
|
if [ "$STATUSRETVAL" == "" ]; then
|
||||||
echo "Checked NuttX submodule, correct version found"
|
echo "Checked NuttX submodule, correct version found"
|
||||||
else
|
else
|
||||||
echo "NuttX sub repo not at correct version. Try 'git submodule update'"
|
echo "NuttX sub repo not at correct version. Try 'make updatesubmodules'"
|
||||||
echo "or follow instructions on http://pixhawk.org/dev/git/submodules"
|
echo "or follow instructions on http://pixhawk.org/dev/git/submodules"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user