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