Ubuntu build EDK2

Posted To be or not to be

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ubuntu build EDK2相关的知识,希望对你有一定的参考价值。

https://wiki.ubuntu.com/UEFI/EDK2

http://blog.csdn.net/huangkangying/article/details/8718892

https://github.com/tianocore/tianocore.github.io/wiki/Common-instructions

https://github.com/tianocore/tianocore.github.io/wiki/Edk2-buildtools

https://github.com/tianocore/tianocore.github.io/wiki/Getting-Started-with-EDK-II

http://www.tianocore.org/

For the purposes of this set of instructions, we will be using the following paths.

Edk2 source tree: $HOME/src/edk2
Native GCC 4.x compiler installation: /usr/bin/gcc
Intel ASL Compiler installation: /usr/bin/iasl

 

Install required software from apt

Several Ubuntu packages will be needed to set up the build environment for EDK II. The following command will install all required packages:

bash$ sudo apt-get install build-essential uuid-dev iasl git gcc-5 nasm
build-essential - Informational list of build-essential packages
uuid-dev -  Universally Unique ID library (headers and static libraries)
iasl - Intel ASL compiler/decompiler (also provided by acpica-tools)
git - support for git revision control system
gcc-5 - GNU C compiler (v5.4.0 as of Ubuntu 16.04 LTS)
nasm - General-purpose x86 assembler

Continue with common instructions

The remaining instructions are common for most UNIX-like systems.

 

Compile build tools

bash$ cd ~/src/edk2
bash$ make -C BaseTools
bash$ . edksetup.sh

以上是关于Ubuntu build EDK2的主要内容,如果未能解决你的问题,请参考以下文章

EDK2开发环境搭建

udk开发-稀里糊涂

udk开发-稀里糊涂

国际主流固件接口组织UEFI全面支持LoongArch,龙架构已完成上游TianoCore EDK2代码合并...

环境初始化 Build and Install the Apache Thrift IDL Compiler Install the Platform Development Tools(代码片段

markdown 在Intel Nuc上设置Ubuntu Web服务器,步骤和代码片段