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'll 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'll be needed-set up the build environment for EDK Ii. The following command would 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 is common for most unix-like systems.
Compile Build Tools
bash$ CD ~/src/edk2bash$ make-c basetoolsbash$. edksetup.sh
Ubuntu Build EDK2