mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-02-02 07:00:42 +00:00
🧑💻 Use sim env for BOARD_SIMULATED in mftest
(#27299)
This commit is contained in:
parent
056e5a430e
commit
20f71fafa7
1 changed files with 3 additions and 0 deletions
|
@ -195,6 +195,9 @@ if ((AUTO_BUILD)); then
|
||||||
[[ $CHOICE > $ECOUNT ]] && { echo "Environment selection out of range." ; exit 1 ; }
|
[[ $CHOICE > $ECOUNT ]] && { echo "Environment selection out of range." ; exit 1 ; }
|
||||||
fi
|
fi
|
||||||
TARGET="${ENVS[$CHOICE-1]}"
|
TARGET="${ENVS[$CHOICE-1]}"
|
||||||
|
if [[ $MB == 'SIMULATED' && $TARGET == 'linux_native' ]]; then
|
||||||
|
TARGET="simulator_linux_release" # Skip the linux_native environment
|
||||||
|
fi
|
||||||
echo "Selected $TARGET"
|
echo "Selected $TARGET"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue