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