Skip to content

Instantly share code, notes, and snippets.

@iaoedsz2008
Last active November 21, 2020 11:12
Show Gist options
  • Save iaoedsz2008/5d0c999bdd1f67e24e6130f545b124b4 to your computer and use it in GitHub Desktop.
Save iaoedsz2008/5d0c999bdd1f67e24e6130f545b124b4 to your computer and use it in GitHub Desktop.
UDK 2018 编译记录

UDK 2018 编译记录

初次编译时,请使用本文指定链接中的版本进行编译,以防编译出现

https://github.com/tianocore/edk2/releases/tag/vUDK2018

Ubuntu 16.04 LTS

http://mirrors.163.com/ubuntu-releases/16.04/

Install required software from apt

sudo apt-get install build-essential uuid-dev iasl git gcc-5 nasm python3-distutils

OpenSSL

https://github.com/openssl/openssl/releases/tag/OpenSSL_1_1_0g

Build BaseTools

make -C BaseTools
. edksetup.sh

Setup build shell environment

export EDK_TOOLS_PATH=`pwd`/BaseTools
. edksetup.sh BaseTools

Build EFI Applications

build -p OvmfPkg/OvmfPkgX64.dsc -b DEBUG -a X64 -t GCC5
build -p AppPkg/AppPkg.dsc -b DEBUG -a X64 -t GCC5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment