VirtualBox

Changeset 85785 in vbox


Ignore:
Timestamp:
Aug 16, 2020 3:17:59 PM (4 years ago)
Author:
vboxsync
Message:

configure.vbs: s/PATH_DEV/KBUILD_DEVTOOLS/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.vbs

    r85784 r85785  
    11421142
    11431143   '
    1144    ' If PATH_DEV is set, check that it's pointing to something useful.
    1145    '
    1146    ''' @todo wtf is this supposed to be again?  Nobody uses it afaikt.
    1147    str = EnvGet("PATH_DEV")
     1144   ' If KBUILD_DEVTOOLS is set, check that it's pointing to something useful.
     1145   '
     1146   str = UnixSlashes(EnvGet("KBUILD_DEVTOOLS"))
    11481147   g_strPathDev = str
    1149    if (str <> "") _
    1150     And False then '' @todo add some proper tests here.
    1151       strNew = UnixSlashes(g_strPath & "/tools")
    1152       EnvPrint "set PATH_DEV=" & strNew
    1153       EnvSet "PATH_DEV", strNew
    1154       MsgWarning "Found PATH_DEV='" & str &"' in your environment. Setting it to '" & strNew & "'."
     1148   if   str <> "" _
     1149    and LogDirExists(str & "/bin") _
     1150    and LogDirExists(str & "/win.amd64/bin") _
     1151    and LogDirExists(str & "/win.x86/bin") _
     1152   then
     1153      LogPrint "Found KBUILD_DEVTOOLS='" & str & "'."
     1154   elseif str <> "" then
     1155      MsgWarning "Ignoring bogus KBUILD_DEVTOOLS='" & str &"' in your environment!"
    11551156      g_strPathDev = strNew
    11561157   end if
    1157    if g_strPathDev = "" then g_strPathDev = UnixSlashes(g_strPath & "/tools")
     1158   if g_strPathDev = "" then
     1159      g_strPathDev = UnixSlashes(g_strPath & "/tools")
     1160      LogPrint "Using KBUILD_DEVTOOLS='" & g_strPathDev & "'."
     1161      if str <> "" then
     1162         EnvPrint "set KBUILD_DEVTOOLS=" & g_strPathDev
     1163         EnvSet "KBUILD_DEVTOOLS", g_strPathDev
     1164      end if
     1165   end if
    11581166
    11591167   '
Note: See TracChangeset for help on using the changeset viewer.

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