Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.8 KiB

  1. @echo off
  2. cls
  3. title EFI - SAL64 Environment
  4. set _IA64SDK_DIR=c:\ia64sdk17
  5. rem *** Master directory for IA-64 SDK tools (_IA64SDK_DIR) ****
  6. if "%_IA64SDK_DIR%"=="" set _IA64SDK_DIR=\ia64sdktools
  7. rem *** The following statements are needed for IA-64 firmware build and simulation
  8. rem *** in an "Intel IA-64 SDK Command Prompt" window.
  9. if not "%_IA64SDK_DIR%"=="" set IA64_Tools=%_IA64SDK_DIR%\bin
  10. if not "%_IA64SDK_DIR%"=="" set path=%IA64_Tools%;%_IA64SDK_DIR%\SoftSDV64\server\bin;%path%
  11. if "%REFDSK%"=="" set REFDSK="\"
  12. if "%IA64_Tools%"=="" goto Error
  13. goto Exit
  14. :Error
  15. rem *** To avoid name conflict with other tools (cl, link, etc.)
  16. if "%IA64_Tools%"=="" echo ---------------------------------------------------------------------------
  17. if "%IA64_Tools%"=="" echo.
  18. if "%IA64_Tools%"=="" echo *ERROR* : Intel IA-64 SDK, Version 0.7 Environment Not Found
  19. if "%IA64_Tools%"=="" echo.
  20. if "%IA64_Tools%"=="" echo Environment Variable Required: IA64_Tools (not defined).
  21. if "%IA64_Tools%"=="" echo Please ensure Intel IA-64 SDK 1.7, for Firmware, is installed.
  22. if "%IA64_Tools%"=="" echo Open 'Intel IA-64 SDK Command Prompt' window and re-invoke
  23. if "%IA64_Tools%"=="" echo your command
  24. if "%IA64_Tools%"=="" echo.
  25. if "%IA64_Tools%"=="" echo ---------------------------------------------------------------------------
  26. if "%IA64_Tools%"=="" echo.
  27. :Exit
  28. rem *** Nmake Debug Switch Control
  29. set NMAKE_SWITCH=
  30. set _ECHO_=
  31. if "%1"=="debug" set NMAKE_SWITCH=/D
  32. if not "%1"=="debug" set _ECHO_=@
  33. set EFI=c:\project\eft
  34. set BLD_EFI=%EFI%\build\Sal64
  35. set EFI_SOURCE=%EFI%
  36. set SOFT_SDV=NO
  37. set EFI_DEBUG=YES
  38. set EFI_DEBUG_CLEAR_MEMORY=NO
  39. set EFI_BOOTSHELL=YES
  40. set EFI_SPLIT_CONSOLES=YES
  41. cd %BLD_EFI%
  42. nmake