VirtualBox

Changeset 106778 in vbox


Ignore:
Timestamp:
Oct 29, 2024 4:06:22 PM (5 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
165669
Message:

tools/envSub.vbs: Add the win.amd64 bin directories to the Path on arm64 as we're still missing bits and pieces. jiraref:VBP-1253

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/envSub.vbs

    r106061 r106778  
    121121   strHost        = EnvGetDefValid("KBUILD_HOST",        "win", arrTargetAndHosts)
    122122   strHostArch    = EnvGetDefValid("KBUILD_HOST_ARCH",   strRealArch, arrArchitectures)
     123
     124   dim strAltHostArch
     125   strAltHostArch = ""
     126   if strHostArch = "arm64" then
     127      strAltHostArch = "amd64"
     128   end if
    123129
    124130   '
     
    267273      ' precedence over the dated gnuwin32 stuff.
    268274      EnvAppendPathItem "Path", DosSlashes(strPathkBuild & "\bin\win." & strHostArch & "\wrappers"), ";"
     275      if strAltHostArch <> "" then EnvAppendPathItem "Path", DosSlashes(strPathkBuild & "\bin\win." & strAltHostArch & "\wrappers"), ";"
    269276
    270277      ' Add some gnuwin32 tools to the end of the path.
     
    336343
    337344   ' Add kbuild binary directory to the front the the path.
     345   if strAltHostArch <> "" then EnvPrependPathItem "Path", DosSlashes(strPathkBuild & "\bin\win." & strAltHostArch), ";"
    338346   EnvPrependPathItem "Path", DosSlashes(strPathkBuild & "\bin\win." & strHostArch), ";"
    339347
     
    341349   EnvPrependPathItem "Path", DosSlashes(strPathDevTools & "\bin"), ";"
    342350   if strHostArch = "amd64" then EnvPrependPathItem "Path", DosSlashes(strPathDevTools & "\win.x86\bin"), ";"
     351   if strAltHostArch <> ""  then EnvPrependPathItem "Path", DosSlashes(strPathDevTools & "\win." & strAltHostArch & "\bin"), ";"
    343352   EnvPrependPathItem "Path", DosSlashes(strPathDevTools & "\win." & strHostArch) & "\bin", ";"
    344353
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette