首页 > 代码库 > Ubuntu build EDK2
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
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。