VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/BaseTools/ReadMe.rst

Last change on this file was 99404, checked in by vboxsync, 19 months ago

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • Property svn:eol-style set to native
File size: 1.7 KB
Line 
1::
2
3 Note: New build instructions are available. It is recommended to start with
4 the new instructions if learning how to build edk2 and/or BaseTools for the
5 first time. This page is retained for reference.
6
7New instructions: `Build Instructions`_
8
9.. _`Build Instructions`: https://github.com/tianocore/tianocore.github.io/wiki/Build-Instructions
10
11This directory contains the EDK II build tools and template files.
12Templates are located in the Conf directory, while the tools executables for
13Microsoft Windows Operating Systems are located in the Bin\\Win32 directory, other
14directory contains tools source.
15
16Build step to generate the binary tools
17---------------------------------------
18
19Windows/Visual Studio Notes
20===========================
21
22To build the BaseTools, you should run the standard vsvars32.bat script
23from your preferred Visual Studio installation or you can run get_vsvars.bat
24to use latest automatically detected version.
25
26In addition to this, you should set the following environment variables::
27
28 * EDK_TOOLS_PATH - Path to the BaseTools sub directory under the edk2 tree
29 * BASE_TOOLS_PATH - The directory where the BaseTools source is located.
30 (It is the same directory where this README.rst is located.)
31
32After this, you can run the toolsetup.bat file, which is in the same
33directory as this file. It should setup the remainder of the environment,
34and build the tools if necessary.
35
36Unix-like operating systems
37===========================
38
39To build on Unix-like operating systems, you only need to type ``make`` in
40the base directory of the project.
41
42Ubuntu Notes
43============
44
45On Ubuntu, the following command should install all the necessary build
46packages to build all the C BaseTools::
47
48 sudo apt install build-essential uuid-dev
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette