Skip to content

Getting Started with EDK II

Michael Kubacki edited this page Dec 13, 2022 · 16 revisions
  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

Downloading and Compiling Code

This page shows the steps for downloading EDK II from GitHub and compiling projects under various OS/compiler environments.

How to Setup a Local EDK II Tree

Several build environments are supported and documented. If instructions are not available for your exact system configuration, you may still be able to tweak the instructions to work on your system.

Note: Some other build tools may be required depending on the project or package:

Note: Some of the examples use the Multiple_Workspace `PACKAGES_PATH` feature to the configure EDK II build environment. For example, this is required for using platform code based on edk2-platforms: (https://github.com/tianocore/edk2-platforms).

Once you have a basic build environment running, you can build a project in RELEASE or DEBUG mode.

GitHub Help

GitHub (https://help.github.com/index.html) provides step-by-step instructions for user registration and basic features supported by GitHub

GitHub EDK II Project Repositories

EDK II Development Process

After setting up your build environment see EDK II Development Process for making contributions to the EDK II Project.

Further Help

If you have questions about the code or run into obstacles getting things to work, please join the EDK II developer Mailing-Lists and ask your EDK II related questions on the list.

For info on writing a simple UEFI EDK II Application, see: Getting Started Writing Simple Application

To review the basic setup of .DSC, .DEC, and .INF files, see: Build Description Files

Clone this wiki locally