mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 01:23:34 +08:00
use correct startup scipt depending on simulator
This commit is contained in:
+3
-3
@@ -68,12 +68,12 @@ touch rootfs/eeprom/parameters
|
||||
# Start Java simulator
|
||||
if [ "$debugger" == "lldb" ]
|
||||
then
|
||||
lldb -- mainapp ../../../../$rc_script
|
||||
lldb -- mainapp ../../../../${rc_script}_${program}
|
||||
elif [ "$debugger" == "gdb" ]
|
||||
then
|
||||
gdb --args mainapp ../../../../$rc_script
|
||||
gdb --args mainapp ../../../../${rc_script}_${program}
|
||||
else
|
||||
./mainapp ../../../../$rc_script
|
||||
./mainapp ../../../../${rc_script}_${program}
|
||||
fi
|
||||
|
||||
if [ "$3" == "jmavsim" ]
|
||||
|
||||
Reference in New Issue
Block a user