]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - BaseTools/ReadMe.rst
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / BaseTools / ReadMe.rst
... / ...
CommitLineData
1This directory contains the EDK II build tools and template files.\r
2Templates are located in the Conf directory, while the tools executables for\r
3Microsoft Windows Operating Systems are located in the Bin\\Win32 directory, other\r
4directory contains tools source.\r
5\r
6Build step to generate the binary tools\r
7---------------------------------------\r
8\r
9Windows/Visual Studio Notes\r
10===========================\r
11\r
12To build the BaseTools, you should run the standard vsvars32.bat script\r
13from your preferred Visual Studio installation or you can run get_vsvars.bat\r
14to use latest automatically detected version.\r
15\r
16In addition to this, you should set the following environment variables::\r
17\r
18 * EDK_TOOLS_PATH - Path to the BaseTools sub directory under the edk2 tree\r
19 * BASE_TOOLS_PATH - The directory where the BaseTools source is located.\r
20 (It is the same directory where this README.rst is located.)\r
21\r
22After this, you can run the toolsetup.bat file, which is in the same\r
23directory as this file. It should setup the remainder of the environment,\r
24and build the tools if necessary.\r
25\r
26Please also refer to the ``BuildNotes.txt`` file for more information on\r
27building under Windows.\r
28\r
29Unix-like operating systems\r
30===========================\r
31\r
32To build on Unix-like operating systems, you only need to type ``make`` in\r
33the base directory of the project.\r
34\r
35Ubuntu Notes\r
36============\r
37\r
38On Ubuntu, the following command should install all the necessary build\r
39packages to build all the C BaseTools::\r
40\r
41 sudo apt install build-essential uuid-dev\r