0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-22 17:52:57 +00:00

🧑‍💻 Use sim env for BOARD_SIMULATED in mftest (#27299)

This commit is contained in:
ellensp 2024-08-22 11:33:58 +12:00 committed by GitHub
parent 056e5a430e
commit 20f71fafa7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -195,6 +195,9 @@ if ((AUTO_BUILD)); then
[[ $CHOICE > $ECOUNT ]] && { echo "Environment selection out of range." ; exit 1 ; }
fi
TARGET="${ENVS[$CHOICE-1]}"
if [[ $MB == 'SIMULATED' && $TARGET == 'linux_native' ]]; then
TARGET="simulator_linux_release" # Skip the linux_native environment
fi
echo "Selected $TARGET"
fi