mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
OVMF: build with gcc 4.8, I'm no idea what I'm doing (ZHF)
This commit is contained in:
parent
5e6e63727e
commit
0abe34e454
@ -1,4 +1,4 @@
|
||||
{ stdenv, edk2, nasm, iasl, seabios, openssl, secureBoot ? false }:
|
||||
{ stdenv, edk2, nasm, iasl, seabios, openssl, gcc, secureBoot ? false }:
|
||||
|
||||
let
|
||||
|
||||
@ -15,7 +15,8 @@ stdenv.mkDerivation (edk2.setup "OvmfPkg/OvmfPkg${targetArch}.dsc" {
|
||||
name = "OVMF-2014-12-10";
|
||||
|
||||
# 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 = ''
|
||||
for file in \
|
||||
|
@ -9059,8 +9059,8 @@ let
|
||||
|
||||
qboot = callPackage ../applications/virtualization/qboot { stdenv = stdenv_32bit; };
|
||||
|
||||
OVMF = callPackage ../applications/virtualization/OVMF { seabios=false; openssl=null; };
|
||||
OVMF-CSM = callPackage ../applications/virtualization/OVMF { openssl=null; };
|
||||
OVMF = callPackage ../applications/virtualization/OVMF { seabios=false; openssl=null; gcc = gcc48; };
|
||||
OVMF-CSM = callPackage ../applications/virtualization/OVMF { openssl=null; gcc = gcc48; };
|
||||
#WIP: OVMF-secureBoot = callPackage ../applications/virtualization/OVMF { seabios=false; secureBoot=true; };
|
||||
|
||||
seabios = callPackage ../applications/virtualization/seabios { };
|
||||
|
Loading…
Reference in New Issue
Block a user