瀏覽代碼

MK404 is only supported on Linux at this moment.

3d-gussner 3 年之前
父節點
當前提交
9fd9ce34a9
共有 1 個文件被更改,包括 6 次插入3 次删除
  1. 6 3
      PF-build.sh

+ 6 - 3
PF-build.sh

@@ -56,7 +56,7 @@
 #   Some may argue that this is only used by a script, BUT as soon someone accidentally or on purpose starts Arduino IDE
 #   it will use the default Arduino IDE folders and so can corrupt the build environment.
 #
-# Version: 2.0.0-Build_60
+# Version: 2.0.0-Build_61
 # Change log:
 # 12 Jan 2019, 3d-gussner, Fixed "compiler.c.elf.flags=-w -Os -Wl,-u,vfprintf -lprintf_flt -lm -Wl,--gc-sections" in 'platform.txt'
 # 16 Jan 2019, 3d-gussner, Build_2, Added development check to modify 'Configuration.h' to prevent unwanted LCD messages that Firmware is unknown
@@ -164,6 +164,7 @@
 #                          use function
 # 23 Jun 2021, 3d-gussner, Improve MK404 usage
 # 24 Jun 2021, 3d-gussner, Fix MK404 user interaction not to show if compiling 'All' variants
+# 24 Jun 2021, 3d-gussner, MK404 is only supported on Linux at this moment.
 
 SCRIPT_PATH="$( cd "$(dirname "$0")" ; pwd -P )"
 
@@ -383,7 +384,7 @@ while getopts b:c:d:g:h:i:j:l:m:n:o:p:v:x:y:?h flag
 # '?' 'h' argument usage and help
 if [ "$help_flag" == "1" ] ; then
 echo "***************************************"
-echo "* PF-build.sh Version: 2.0.0-Build_60 *"
+echo "* PF-build.sh Version: 2.0.0-Build_61 *"
 echo "***************************************"
 echo "Arguments:"
 echo "$(tput setaf 2)-b$(tput sgr0) Build/commit number"
@@ -1583,4 +1584,6 @@ do
     cleanup_firmware
 done
 finish_pf-build
-MK404_SIM
+if [ $TARGET_OS == "linux" ]; then
+    MK404_SIM
+fi