Browse Source

fix runtime-fallback sdxpath commandline

master
Julian Noble 2 weeks ago
parent
commit
da11cb6b8f
  1. 7
      src/make.tcl

7
src/make.tcl

@ -2765,11 +2765,12 @@ if {$sdxpath eq ""} {
set testpath $rtfolder/$rtname
if {[file exists $testpath]} {
if {[file type $testpath] eq "directory"} {
set tclkitpath $rtfolder/[punkboot::lib::runtime_buildcopyname $testpath]
set alt_tclkitpath $rtfolder/[punkboot::lib::runtime_buildcopyname $testpath]
} else {
set tclkitpath $testpath
set alt_tclkitpath $testpath
}
if {$tclkitpath ne "" && [file exists $tclkitpath]} {
if {[file exists $alt_tclkitpath]} {
set sdxpath [list {*}$alt_tclkitpath $binfolder/sdx.kit]
break
}
}

Loading…
Cancel
Save