]>
Commit | Line | Data |
---|---|---|
07a756b9 | 1 | This directory contains the next generation of EDK II build tools and template files.\r |
2 | Templates are located in the Conf directory, while the tools executables for\r | |
f7496d71 | 3 | Microsoft Windows 32-bit Operating Systems are located in the Bin\Win32 directory, other\r |
fb0b35e0 | 4 | directory contains tools source.\r |
07a756b9 | 5 | \r |
30fdf114 | 6 | 1. Build step to generate the binary tools.\r |
07a756b9 | 7 | \r |
30fdf114 LG |
8 | === Windows/Visual Studio Notes ===\r |
9 | \r | |
402834d2 LG |
10 | To build the BaseTools, you should run the standard vsvars32.bat script\r |
11 | from your preferred Visual Studio installation or you can run get_vsvars.bat\r | |
12 | to use latest automatically detected version.\r | |
30fdf114 LG |
13 | \r |
14 | In addition to this, you should set the following environment variables:\r | |
15 | \r | |
16 | * EDK_TOOLS_PATH - Path to the BaseTools sub directory under the edk2 tree\r | |
17 | * BASE_TOOLS_PATH - The directory where the BaseTools source is located.\r | |
18 | (It is the same directory where this README.txt is located.)\r | |
30fdf114 LG |
19 | \r |
20 | After this, you can run the toolsetup.bat file, which is in the same\r | |
21 | directory as this file. It should setup the remainder of the environment,\r | |
22 | and build the tools if necessary.\r | |
23 | \r | |
24 | Please also refer to the 'BuildNotes.txt' file for more information on\r | |
25 | building under Windows.\r | |
26 | \r | |
27 | === Unix-like operating systems ===\r | |
28 | \r | |
29 | To build on Unix-like operating systems, you only need to type 'make' in\r | |
30 | the base directory of the project.\r | |
31 | \r | |
32 | === Ubuntu Notes ===\r | |
33 | \r | |
34 | On Ubuntu, the following command should install all the necessary build\r | |
35 | packages to build all the C BaseTools:\r | |
36 | \r | |
4afd3d04 | 37 | sudo apt-get install build-essential uuid-dev\r |
30fdf114 LG |
38 | \r |
39 | === Python sqlite3 module ===\r | |
f7496d71 LG |
40 | On Windows, the cx_freeze will not copy the sqlite3.dll to the frozen\r |
41 | binary directory (the same directory as build.exe and GenFds.exe).\r | |
30fdf114 LG |
42 | Please copy it manually from <PythonHome>\DLLs.\r |
43 | \r | |
44 | The Python distributed with most recent Linux will have sqlite3 module\r | |
45 | built in. If not, please install sqlit3 package separately.\r | |
46 | \r | |
0d2711a6 | 47 | 26-OCT-2011\r |