mirror of https://github.com/ArduPilot/ardupilot
Tools: adjust usage of --enable for uppercase names
This commit is contained in:
parent
b2b9226863
commit
bcf19b6d0d
|
@ -6603,7 +6603,7 @@ Brakes have negligible effect (with=%0.2fm without=%0.2fm delta=%0.2fm)
|
|||
self.progress('rebuilding rover with ppp enabled')
|
||||
import shutil
|
||||
shutil.copy('build/sitl/bin/ardurover', 'build/sitl/bin/ardurover.noppp')
|
||||
util.build_SITL('bin/ardurover', clean=False, configure=True, extra_configure_args=['--enable-ppp', '--debug'])
|
||||
util.build_SITL('bin/ardurover', clean=False, configure=True, extra_configure_args=['--enable-PPP', '--debug'])
|
||||
|
||||
self.reboot_sitl()
|
||||
|
||||
|
|
|
@ -379,10 +379,10 @@ def do_build(opts, frame_options):
|
|||
cmd_configure.append("--enable-math-check-indexes")
|
||||
|
||||
if opts.enable_ekf2:
|
||||
cmd_configure.append("--enable-ekf2")
|
||||
cmd_configure.append("--enable-EKF2")
|
||||
|
||||
if opts.disable_ekf3:
|
||||
cmd_configure.append("--disable-ekf3")
|
||||
cmd_configure.append("--disable-EKF3")
|
||||
|
||||
if opts.postype_single:
|
||||
cmd_configure.append("--postype-single")
|
||||
|
@ -415,7 +415,7 @@ def do_build(opts, frame_options):
|
|||
cmd_configure.append("--disable-networking")
|
||||
|
||||
if opts.enable_ppp:
|
||||
cmd_configure.append("--enable-ppp")
|
||||
cmd_configure.append("--enable-PPP")
|
||||
|
||||
if opts.enable_networking_tests:
|
||||
cmd_configure.append("--enable-networking-tests")
|
||||
|
|
|
@ -34,7 +34,7 @@ set(WAF_DISABLE_SCRIPTING $<$<BOOL:${ARDUPILOT_DISABLE_SCRIPTING}>:"--disable-sc
|
|||
set(WAF_DISABLE_WATCHDOG $<$<BOOL:${ARDUPILOT_DISABLE_WATCHDOG}>:"--disable-watchdog">)
|
||||
set(WAF_ENABLE_DDS $<$<BOOL:${ARDUPILOT_ENABLE_DDS}>:"--enable-dds">)
|
||||
set(WAF_ENABLE_NETWORKING_TESTS $<$<BOOL:${ARDUPILOT_ENABLE_NETWORKING_TESTS}>:"--enable-networking-tests">)
|
||||
set(WAF_ENABLE_PPP $<$<BOOL:${ARDUPILOT_ENABLE_PPP}>:"--enable-ppp">)
|
||||
set(WAF_ENABLE_PPP $<$<BOOL:${ARDUPILOT_ENABLE_PPP}>:"--enable-PPP">)
|
||||
|
||||
add_custom_target(ardupilot_configure ALL
|
||||
${WAF_COMMAND} configure --board sitl
|
||||
|
|
|
@ -321,7 +321,7 @@ for t in $CI_BUILD_TARGET; do
|
|||
|
||||
if [ "$t" == "CubeOrange-PPP" ]; then
|
||||
echo "Building CubeOrange-PPP"
|
||||
$waf configure --board CubeOrange --enable-ppp
|
||||
$waf configure --board CubeOrange --enable-PPP
|
||||
$waf clean
|
||||
$waf copter
|
||||
continue
|
||||
|
@ -329,7 +329,7 @@ for t in $CI_BUILD_TARGET; do
|
|||
|
||||
if [ "$t" == "CubeOrange-EKF2" ]; then
|
||||
echo "Building CubeOrange with EKF2 enabled"
|
||||
$waf configure --board CubeOrange --enable-ekf2
|
||||
$waf configure --board CubeOrange --enable-EKF2
|
||||
$waf clean
|
||||
$waf copter
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue