edk2, OVMF: Build on aarch64

And also build in parallel.

I don't understand why we manually tediously link every single directory
from the source, but I don't want to investigate too much.
This commit is contained in:
Tuomas Tynkkynen
2018-03-14 17:37:49 +02:00
parent 1645011983
commit f59eab75d2
2 changed files with 33 additions and 11 deletions

View File

@@ -7,6 +7,8 @@ targetArch = if stdenv.isi686 then
"IA32"
else if stdenv.isx86_64 then
"X64"
else if stdenv.isAarch64 then
"AARCH64"
else
throw "Unsupported architecture";
@@ -48,7 +50,7 @@ edk2 = stdenv.mkDerivation {
homepage = https://sourceforge.net/projects/edk2/;
license = stdenv.lib.licenses.bsd2;
branch = "UDK2017";
platforms = ["x86_64-linux" "i686-linux"];
platforms = ["x86_64-linux" "i686-linux" "aarch64-linux"];
};
passthru = {