Changeset 106778 in vbox
- Timestamp:
- Oct 29, 2024 4:06:22 PM (5 months ago)
- svn:sync-xref-src-repo-rev:
- 165669
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/envSub.vbs
r106061 r106778 121 121 strHost = EnvGetDefValid("KBUILD_HOST", "win", arrTargetAndHosts) 122 122 strHostArch = EnvGetDefValid("KBUILD_HOST_ARCH", strRealArch, arrArchitectures) 123 124 dim strAltHostArch 125 strAltHostArch = "" 126 if strHostArch = "arm64" then 127 strAltHostArch = "amd64" 128 end if 123 129 124 130 ' … … 267 273 ' precedence over the dated gnuwin32 stuff. 268 274 EnvAppendPathItem "Path", DosSlashes(strPathkBuild & "\bin\win." & strHostArch & "\wrappers"), ";" 275 if strAltHostArch <> "" then EnvAppendPathItem "Path", DosSlashes(strPathkBuild & "\bin\win." & strAltHostArch & "\wrappers"), ";" 269 276 270 277 ' Add some gnuwin32 tools to the end of the path. … … 336 343 337 344 ' Add kbuild binary directory to the front the the path. 345 if strAltHostArch <> "" then EnvPrependPathItem "Path", DosSlashes(strPathkBuild & "\bin\win." & strAltHostArch), ";" 338 346 EnvPrependPathItem "Path", DosSlashes(strPathkBuild & "\bin\win." & strHostArch), ";" 339 347 … … 341 349 EnvPrependPathItem "Path", DosSlashes(strPathDevTools & "\bin"), ";" 342 350 if strHostArch = "amd64" then EnvPrependPathItem "Path", DosSlashes(strPathDevTools & "\win.x86\bin"), ";" 351 if strAltHostArch <> "" then EnvPrependPathItem "Path", DosSlashes(strPathDevTools & "\win." & strAltHostArch & "\bin"), ";" 343 352 EnvPrependPathItem "Path", DosSlashes(strPathDevTools & "\win." & strHostArch) & "\bin", ";" 344 353
Note:
See TracChangeset
for help on using the changeset viewer.