码迷,mamicode.com
首页 > 系统相关 > 详细

Ubuntu build EDK2

时间:2017-03-06 17:47:54      阅读:448      评论:0      收藏:0      [点我收藏+]

标签:format   stat   sof   com   setup   headers   rem   uid   ini   

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

标签:format   stat   sof   com   setup   headers   rem   uid   ini   

原文地址:http://www.cnblogs.com/boowii/p/6510882.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!