|
|
|
@ -2765,11 +2765,12 @@ if {$sdxpath eq ""} { |
|
|
|
set testpath $rtfolder/$rtname |
|
|
|
set testpath $rtfolder/$rtname |
|
|
|
if {[file exists $testpath]} { |
|
|
|
if {[file exists $testpath]} { |
|
|
|
if {[file type $testpath] eq "directory"} { |
|
|
|
if {[file type $testpath] eq "directory"} { |
|
|
|
set tclkitpath $rtfolder/[punkboot::lib::runtime_buildcopyname $testpath] |
|
|
|
set alt_tclkitpath $rtfolder/[punkboot::lib::runtime_buildcopyname $testpath] |
|
|
|
} else { |
|
|
|
} 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 |
|
|
|
break |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|