VirtualBox

Ignore:
Timestamp:
Oct 28, 2015 8:17:18 PM (9 years ago)
Author:
vboxsync
Message:

EFI/Firmware: 'svn merge /vendor/edk2/UDK2010.SR1 /vendor/edk2/current .', reverting and removing files+dirs listed in ReadMe.vbox, resolving conflicts with help from ../UDK2014.SP1/. This is a raw untested merge.

Location:
trunk/src/VBox/Devices/EFI/Firmware
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/Firmware

  • trunk/src/VBox/Devices/EFI/Firmware/edksetup.bat

    r48674 r58459  
    22@REM   Windows batch file to setup a WORKSPACE environment
    33@REM
    4 @REM Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
     4@REM Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
    55@REM This program and the accompanying materials
    66@REM are licensed and made available under the terms and conditions of the BSD License
     
    3232
    3333if not defined WORKSPACE (
    34   @goto SetWorkSpace
     34  goto SetWorkSpace
    3535)
    3636
    3737if %WORKSPACE% == %CD% (
    3838  @REM Workspace is not changed.
    39   @goto ParseArgs
     39  goto ParseArgs
    4040)
    4141
     
    4848
    4949:ParseArgs
    50 @if /I "%1"=="-h" goto Usage
    51 @if /I "%1"=="-help" goto Usage
    52 @if /I "%1"=="--help" goto Usage
    53 @if /I "%1"=="/h" goto Usage
    54 @if /I "%1"=="/?" goto Usage
    55 @if /I "%1"=="/help" goto Usage
     50if /I "%1"=="-h" goto Usage
     51if /I "%1"=="-help" goto Usage
     52if /I "%1"=="--help" goto Usage
     53if /I "%1"=="/h" goto Usage
     54if /I "%1"=="/?" goto Usage
     55if /I "%1"=="/help" goto Usage
    5656
    57 @if /I not "%1"=="--nt32" goto no_nt32
     57if /I not "%1"=="--nt32" goto no_nt32
    5858
    5959@REM Flag, --nt32 is set
     
    6262
    6363if not defined VCINSTALLDIR (
    64   if defined VS71COMNTOOLS (
    65     call "%VS71COMNTOOLS%\vsvars32.bat"
     64  if defined VS120COMNTOOLS (
     65    call "%VS120COMNTOOLS%\vsvars32.bat"
    6666  ) else (
    67     if defined VS80COMNTOOLS (
    68       call "%VS80COMNTOOLS%\vsvars32.bat"
     67    if defined VS110COMNTOOLS (
     68      call "%VS110COMNTOOLS%\vsvars32.bat"
    6969    ) else (
    70       if defined VS90COMNTOOLS (
    71         call "%VS90COMNTOOLS%\vsvars32.bat"
     70      if defined VS100COMNTOOLS (
     71        call "%VS100COMNTOOLS%\vsvars32.bat"
    7272      ) else (
    73         echo.
    74         echo !!! WARNING !!! Cannot find Visual Studio !!!
    75         echo.
     73        if defined VS90COMNTOOLS (
     74          call "%VS90COMNTOOLS%\vsvars32.bat"
     75        ) else (
     76          if defined VS80COMNTOOLS (
     77            call "%VS80COMNTOOLS%\vsvars32.bat"
     78          ) else (
     79            if defined VS71COMNTOOLS (
     80              call "%VS71COMNTOOLS%\vsvars32.bat"
     81            ) else (
     82              echo.
     83              echo !!! WARNING !!! Cannot find Visual Studio !!!
     84              echo.
     85            )
     86          )
     87        )
    7688      )
    7789    )
     
    8193
    8294:no_nt32
    83 @if /I "%1"=="NewBuild" shift
    84 @if not defined EDK_TOOLS_PATH set EDK_TOOLS_PATH=%WORKSPACE%\BaseTools
    85 @IF NOT EXIST "%EDK_TOOLS_PATH%\toolsetup.bat" goto BadBaseTools
    86 @call %EDK_TOOLS_PATH%\toolsetup.bat %*
    87 @if /I "%1"=="Reconfig" shift
    88 @goto check_cygwin
     95if /I "%1"=="NewBuild" shift
     96set EDK_TOOLS_PATH=%WORKSPACE%\BaseTools
     97IF NOT EXIST "%EDK_TOOLS_PATH%\toolsetup.bat" goto BadBaseTools
     98call %EDK_TOOLS_PATH%\toolsetup.bat %*
     99if /I "%1"=="Reconfig" shift
     100goto check_cygwin
    89101
    90102:BadBaseTools
    91103  @REM
    92   @REM Need the BaseTools Package in order to build
     104  REM Need the BaseTools Package in order to build
    93105  @REM
    94   echo.
    95   echo !!! ERROR !!! The BaseTools Package was not found !!!
    96   echo.
    97   echo Set the system environment variable, EDK_TOOLS_PATH to the BaseTools,
    98   echo For example,
    99   echo   set EDK_TOOLS_PATH=C:\MyTools\BaseTools
    100   echo The setup script, toolsetup.bat must reside in this folder.
    101   echo.
    102   @goto end
     106  @echo.
     107  @echo !!! ERROR !!! The BaseTools Package was not found !!!
     108  @echo.
     109  @echo Set the system environment variable, EDK_TOOLS_PATH to the BaseTools,
     110  @echo For example,
     111  @echo   set EDK_TOOLS_PATH=C:\MyTools\BaseTools
     112  @echo The setup script, toolsetup.bat must reside in this folder.
     113  @echo.
     114  goto end
    103115
    104116:check_cygwin
    105   @if exist c:\cygwin (
    106     @set CYGWIN_HOME=c:\cygwin
     117if defined CYGWIN_HOME (
     118  if not exist "%CYGWIN_HOME%" (
     119    @echo.
     120    @echo !!! WARNING !!! CYGWIN_HOME not found, gcc build may not be used !!!
     121    @echo.
     122  )
     123) else (
     124  if exist c:\cygwin (
     125    set CYGWIN_HOME=c:\cygwin
    107126  ) else (
    108127    @echo.
     
    110129    @echo.
    111130  )
     131)
    112132
    113 @if NOT "%1"=="" goto Usage
    114 @goto end
     133:cygwin_done
     134if "%1"=="" goto end
    115135
    116136:Usage
     
    122142  @echo.
    123143  @echo  Note that target.template, tools_def.template and build_rules.template
    124   @echo  will be only copied to target.txt, tools_def.txt and build_rule.txt
    125   @echo  respectively if they do not exist. Using option [Reconfig] to force the copy.
     144  @echo  will only be copied to target.txt, tools_def.txt and build_rule.txt
     145  @echo  respectively if they do not exist. Use option [Reconfig] to force the copy.
    126146  @echo.
    127   @goto end
     147  goto end
    128148
    129149:end
    130   @popd
    131   @echo on
     150  popd
    132151
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