Build Environment

SBL build is supported on both Windows and Linux environments

Building on Linux

Supported environment: Ubuntu Linux 18.04 LTS

Install the following software:

  • GCC 7.3 or newer
  • Python 2.7
  • IASL 20160422
  • NASM
  • OpenSSL

Build Tools Download - Ubuntu

Install required packages on Ubuntu:

$ sudo apt-get install -y build-essential iasl python uuid-dev nasm openssl gcc-multilib qemu

Build using Dockers (Optional)

You can also consider Dockers containers to build SBL. See Miscellaneous: Dockers for more details.

Building on Windows

Supported environment: Microsoft Visual Studio 2015 Require: Include x64 C/C++ compiler tools with the installation as this is not the default option.

Install the exact versions (if specified) of the following tools to the designated directories:

  • Python 2.7 - C:\Python27
  • IASL 20160422 - C:\ASL
  • NASM - C:\Nasm
  • OpenSSL - C:\openssl

Build Tools Download - Windows

Python 2.7 - 64 bit version.

Require: v2.7.13 is the required version


Add Python to the PATH

IASL 20160422-64

unzip then copy files to C:\asl

Require: Install to C:\Asl

Nasm 2.11

Require: Install to C:\Nasm

Openssl (latest)

Download from (the latest version: unzip then copy files to C:\\Openssl)

Require: Install to C:\Openssl


Set environment variable OPENSSL_PATH to openssl directory, Cmd: set OPENSSL_PATH=C:\Openssl