]> git.proxmox.com Git - mirror_edk2.git/blame - BaseTools/ReadMe.txt
MdeModulePkg/CapsuleApp: Fix memory leak issue.
[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
f7496d71 3Microsoft Windows 32-bit Operating Systems are located in the Bin\Win32 directory, other\r
30fdf114 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
402834d2
LG
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
30fdf114
LG
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
30fdf114
LG
19\r
20After this, you can run the toolsetup.bat file, which is in the same\r
21directory as this file. It should setup the remainder of the environment,\r
22and build the tools if necessary.\r
23\r
24Please also refer to the 'BuildNotes.txt' file for more information on\r
25building under Windows.\r
26\r
27=== Unix-like operating systems ===\r
28\r
29To build on Unix-like operating systems, you only need to type 'make' in\r
30the base directory of the project.\r
31\r
32=== Ubuntu Notes ===\r
33\r
34On Ubuntu, the following command should install all the necessary build\r
35packages 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
40On Windows, the cx_freeze will not copy the sqlite3.dll to the frozen\r
41binary directory (the same directory as build.exe and GenFds.exe).\r
30fdf114
LG
42Please copy it manually from <PythonHome>\DLLs.\r
43\r
44The Python distributed with most recent Linux will have sqlite3 module\r
45built in. If not, please install sqlit3 package separately.\r
46\r
0d2711a6 4726-OCT-2011\r