]>
Commit | Line | Data |
---|---|---|
1 | This directory contains the EDK II build tools and template files.\r | |
2 | Templates are located in the Conf directory, while the tools executables for\r | |
3 | Microsoft Windows Operating Systems are located in the Bin\\Win32 directory, other\r | |
4 | directory contains tools source.\r | |
5 | \r | |
6 | Build step to generate the binary tools\r | |
7 | ---------------------------------------\r | |
8 | \r | |
9 | Windows/Visual Studio Notes\r | |
10 | ===========================\r | |
11 | \r | |
12 | To build the BaseTools, you should run the standard vsvars32.bat script\r | |
13 | from your preferred Visual Studio installation or you can run get_vsvars.bat\r | |
14 | to use latest automatically detected version.\r | |
15 | \r | |
16 | In 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 | |
22 | After this, you can run the toolsetup.bat file, which is in the same\r | |
23 | directory as this file. It should setup the remainder of the environment,\r | |
24 | and build the tools if necessary.\r | |
25 | \r | |
26 | Please also refer to the ``BuildNotes.txt`` file for more information on\r | |
27 | building under Windows.\r | |
28 | \r | |
29 | Unix-like operating systems\r | |
30 | ===========================\r | |
31 | \r | |
32 | To build on Unix-like operating systems, you only need to type ``make`` in\r | |
33 | the base directory of the project.\r | |
34 | \r | |
35 | Ubuntu Notes\r | |
36 | ============\r | |
37 | \r | |
38 | On Ubuntu, the following command should install all the necessary build\r | |
39 | packages to build all the C BaseTools::\r | |
40 | \r | |
41 | sudo apt install build-essential uuid-dev\r |