Browse Source

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

ellensp 6 months ago
parent
commit
20f71fafa7
1 changed files with 3 additions and 0 deletions
  1. 3 0
      buildroot/bin/mftest

+ 3 - 0
buildroot/bin/mftest

@@ -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