OVMF: build with gcc 4.8, I'm no idea what I'm doing (ZHF)

This commit is contained in:
Luca Bruno 2015-07-22 11:34:18 +02:00
parent 5e6e63727e
commit 0abe34e454
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, edk2, nasm, iasl, seabios, openssl, secureBoot ? false }: { stdenv, edk2, nasm, iasl, seabios, openssl, gcc, secureBoot ? false }:
let let
@ -15,7 +15,8 @@ stdenv.mkDerivation (edk2.setup "OvmfPkg/OvmfPkg${targetArch}.dsc" {
name = "OVMF-2014-12-10"; name = "OVMF-2014-12-10";
# TODO: properly include openssl for secureBoot # TODO: properly include openssl for secureBoot
buildInputs = [nasm iasl] ++ stdenv.lib.optionals (secureBoot == true) [ openssl ]; # Doesn't build with gcc 4.9
buildInputs = [nasm iasl gcc] ++ stdenv.lib.optionals (secureBoot == true) [ openssl ];
unpackPhase = '' unpackPhase = ''
for file in \ for file in \

View File

@ -9059,8 +9059,8 @@ let
qboot = callPackage ../applications/virtualization/qboot { stdenv = stdenv_32bit; }; qboot = callPackage ../applications/virtualization/qboot { stdenv = stdenv_32bit; };
OVMF = callPackage ../applications/virtualization/OVMF { seabios=false; openssl=null; }; OVMF = callPackage ../applications/virtualization/OVMF { seabios=false; openssl=null; gcc = gcc48; };
OVMF-CSM = callPackage ../applications/virtualization/OVMF { openssl=null; }; OVMF-CSM = callPackage ../applications/virtualization/OVMF { openssl=null; gcc = gcc48; };
#WIP: OVMF-secureBoot = callPackage ../applications/virtualization/OVMF { seabios=false; secureBoot=true; }; #WIP: OVMF-secureBoot = callPackage ../applications/virtualization/OVMF { seabios=false; secureBoot=true; };
seabios = callPackage ../applications/virtualization/seabios { }; seabios = callPackage ../applications/virtualization/seabios { };