-
Notifications
You must be signed in to change notification settings - Fork 341
BuildTool Setup Guide
Note: New build instructions are available. It is recommended to start with the new instructions if learning how to build edk2 for the first time. This page is retained for reference.
New instructions: Build Instructions
GitHub (https://help.github.com/index.html) provides step-by-step instructions for user registration and basic features supported by GitHub
- Setup GitHub for Linux | Windows | MAC | All (https://help.github.com/articles/set-up-git)
- To download and install a Git GUI interface (http://git-scm.com/)
- The EDK II BaseTools are part of the EDK II project repository.
- The EDK II project repository is available at https://github.com/tianocore/edk2.
- Prebuilt Windows tools are available at https://github.com/tianocore/edk2-BaseTools-win32.
- Content that is not released under an accepted open source license can be found at https://github.com/tianocore/edk2-non-osi.
For both the BuildTools and EDK II projects, you will need to obtain a compiler from somewhere else. These instructions do not cover obtaining or installation of a compiler tools chain. The BaseTools build requires a C compiler; an assembler or ACPI assembler are not required to build tools in this project. BaseTools assume that a compiler is already configured in the environment.
The BaseTools build supports the Makefile based build for EDK II. All Tools are written in either C or Python. The C tools must compile on all operating systems with various compilers, so the code is written using simple, standard functions and libraries. The Python-based tools are written assuming the features that were available in Python. GUI applications can be created in Python, using the wxPython package and all Python applications can be converted to run under a native OS (Windows, Linux or OS/X.) via the Python Tools.
The tools in this section are NOT required to build the EDK II project; they are needed to compile the BaseTools used to build the EDK II project.
- Linux and OS/X developers using a command line, create a directory that will be used to hold the files, then change to that directory.
- Replace URL with apropriate one from Python Tools. Installation and configuration for these tools are left to the developer.
Refer to documentation in either the UserManuals or Source folders for more information.
- BuildTools User Manuals
See Getting Started with EDK II
After setting up your build environment see EDK II Development Process for making contributions to the EDK II Project.
If you have questions about the code or run into obstacles getting things to work for you, please join our edk2-devel email list and ask your EDK II related questions on the list.
Home
Getting Started with EDK II
Build Instructions
EDK II Platforms
EDK II Documents
EDK II Release Planning
Reporting Issues
Reporting Security Issues
Community Information
Inclusive Language
Additional Projects & Tasks
Training
Community Support
Community Virtual Meetings
GHSA GitHub Security Advisories Proceess (Draft)