blob: 858b124db8769701d655a075677b622ecab26fef [file] [log] [blame]
jljusten07a756b2007-10-17 01:54:36 +00001This directory contains the next generation of EDK II build tools and template files.
2Templates are located in the Conf directory, while the tools executables for
lgao430fdf112009-07-17 09:10:31 +00003Microsoft Windows 32-bit Operating Systems are located in the Bin\Win32 directory, other
4directory contatins tools source.
jljusten07a756b2007-10-17 01:54:36 +00005
lgao430fdf112009-07-17 09:10:31 +000061. Build step to generate the binary tools.
jljusten07a756b2007-10-17 01:54:36 +00007
lgao430fdf112009-07-17 09:10:31 +00008=== Windows/Visual Studio Notes ===
9
10To build the BaseTools, you should run the standard vsvars32.bat script.
11
12In addition to this, you should set the following environment variables:
13
14 * EDK_TOOLS_PATH - Path to the BaseTools sub directory under the edk2 tree
15 * BASE_TOOLS_PATH - The directory where the BaseTools source is located.
16 (It is the same directory where this README.txt is located.)
17 * PYTHON_FREEZER_PATH - Path to where the python freezer tool is installed
18
19After this, you can run the toolsetup.bat file, which is in the same
20directory as this file. It should setup the remainder of the environment,
21and build the tools if necessary.
22
23Please also refer to the 'BuildNotes.txt' file for more information on
24building under Windows.
25
26=== Unix-like operating systems ===
27
28To build on Unix-like operating systems, you only need to type 'make' in
29the base directory of the project.
30
31=== Ubuntu Notes ===
32
33On Ubuntu, the following command should install all the necessary build
34packages to build all the C BaseTools:
35
Liming Gao4afd3d02013-08-23 02:18:16 +000036 sudo apt-get install build-essential uuid-dev
lgao430fdf112009-07-17 09:10:31 +000037
38=== Python sqlite3 module ===
39On Windows, the cx_freeze will not copy the sqlite3.dll to the frozen
40binary directory (the same directory as build.exe and GenFds.exe).
41Please copy it manually from <PythonHome>\DLLs.
42
43The Python distributed with most recent Linux will have sqlite3 module
44built in. If not, please install sqlit3 package separately.
45
lgao40d2711a2011-10-29 06:59:30 +00004626-OCT-2011