coreboot-payload-tianocore: remove CSM build flag

it doesn't work anyways
wip/yesman
Milan Pässler 3 years ago
parent 471014819e
commit be70414386
No known key found for this signature in database
GPG Key ID: A6DC6A7CB0B97859
  1. 17
      pkgs/coreboot-payload-tianocore/default.nix

@ -1,4 +1,11 @@
{ fetchFromGitHub, python2, stdenv, libuuid, bc, utillinux, nasm, iasl, seabios
{ fetchFromGitHub
, python2
, stdenv
, libuuid
, bc
, utillinux
, nasm
, iasl
}:
# we can not override the source in edk2, so we had to copy the entire thing
@ -58,7 +65,7 @@ in stdenv.mkDerivation {
buildPhase = ''
runHook preBuild
build -a X64 -a IA32 -b RELEASE -t GCC5 -p CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc -n $NIX_BUILD_CORES -D CSM_ENABLE
build -a X64 -a IA32 -b RELEASE -t GCC5 -p CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc -n $NIX_BUILD_CORES
runHook postBuild
'';
@ -68,11 +75,5 @@ in stdenv.mkDerivation {
runHook postInstall
'';
hardeningDisable = [ "format" "stackprotector" "pic" "fortify" ];
postPatch = ''
cp ${seabios}/Csm16.bin OvmfPkg/Csm/Csm16/Csm16.bin
'';
dontPatchELF = true;
}

Loading…
Cancel
Save