]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - BaseTools/ReadMe.txt
BaseTools: expression can use single in instead of 3 API calls.
[mirror_edk2.git] / BaseTools / ReadMe.txt
... / ...
CommitLineData
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
3Microsoft Windows 32-bit Operating Systems are located in the Bin\Win32 directory, other \r
4directory contatins tools source.\r
5\r
61. Build step to generate the binary tools.\r
7\r
8=== Windows/Visual Studio Notes ===\r
9\r
10To build the BaseTools, you should run the standard vsvars32.bat script\r
11from your preferred Visual Studio installation or you can run get_vsvars.bat\r
12to use latest automatically detected version.\r
13\r
14In 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
19 * PYTHON_FREEZER_PATH - Path to where the python freezer tool is installed\r
20\r
21After this, you can run the toolsetup.bat file, which is in the same\r
22directory as this file. It should setup the remainder of the environment,\r
23and build the tools if necessary.\r
24\r
25Please also refer to the 'BuildNotes.txt' file for more information on\r
26building under Windows.\r
27\r
28=== Unix-like operating systems ===\r
29\r
30To build on Unix-like operating systems, you only need to type 'make' in\r
31the base directory of the project.\r
32\r
33=== Ubuntu Notes ===\r
34\r
35On Ubuntu, the following command should install all the necessary build\r
36packages to build all the C BaseTools:\r
37\r
38 sudo apt-get install build-essential uuid-dev\r
39\r
40=== Python sqlite3 module ===\r
41On Windows, the cx_freeze will not copy the sqlite3.dll to the frozen \r
42binary directory (the same directory as build.exe and GenFds.exe). \r
43Please copy it manually from <PythonHome>\DLLs.\r
44\r
45The Python distributed with most recent Linux will have sqlite3 module\r
46built in. If not, please install sqlit3 package separately.\r
47\r
4826-OCT-2011\r