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