2023-03-09 13:21:27 +03:00
|
|
|
[global]
|
|
|
|
core = edk2
|
|
|
|
|
|
|
|
####################################################################################
|
|
|
|
# options
|
|
|
|
|
|
|
|
[opts.common]
|
|
|
|
NETWORK_HTTP_BOOT_ENABLE = TRUE
|
|
|
|
NETWORK_IP6_ENABLE = TRUE
|
|
|
|
NETWORK_TLS_ENABLE = TRUE
|
|
|
|
NETWORK_ISCSI_ENABLE = TRUE
|
|
|
|
NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
|
|
|
|
TPM2_ENABLE = TRUE
|
|
|
|
TPM2_CONFIG_ENABLE = TRUE
|
|
|
|
TPM1_ENABLE = TRUE
|
|
|
|
CAVIUM_ERRATUM_27456 = TRUE
|
|
|
|
|
|
|
|
[opts.ovmf.sb.smm]
|
|
|
|
SECURE_BOOT_ENABLE = TRUE
|
|
|
|
SMM_REQUIRE = TRUE
|
2024-03-14 14:53:01 +03:00
|
|
|
BUILD_SHELL = FALSE
|
2023-03-09 13:21:27 +03:00
|
|
|
|
|
|
|
[opts.armvirt.silent]
|
|
|
|
DEBUG_PRINT_ERROR_LEVEL = 0x80000000
|
|
|
|
|
2023-12-13 10:57:20 +03:00
|
|
|
[pcds.nx.strict]
|
|
|
|
PcdDxeNxMemoryProtectionPolicy = 0xC000000000007FD5
|
|
|
|
PcdUninstallMemAttrProtocol = FALSE
|
|
|
|
|
|
|
|
[pcds.nx.broken.shim.grub]
|
2023-03-09 13:21:27 +03:00
|
|
|
# grub.efi uses EfiLoaderData for code
|
|
|
|
PcdDxeNxMemoryProtectionPolicy = 0xC000000000007FD1
|
2023-12-13 10:57:20 +03:00
|
|
|
# shim.efi has broken MemAttr code
|
|
|
|
PcdUninstallMemAttrProtocol = TRUE
|
2023-03-09 13:21:27 +03:00
|
|
|
|
|
|
|
####################################################################################
|
|
|
|
# i386
|
|
|
|
|
|
|
|
[build.ovmf.i386]
|
|
|
|
desc = ovmf build (32-bit)
|
|
|
|
conf = OvmfPkg/OvmfPkgIa32.dsc
|
|
|
|
arch = IA32
|
|
|
|
opts = common
|
|
|
|
plat = OvmfIa32
|
|
|
|
dest = ../pc-bios
|
|
|
|
cpy1 = FV/OVMF_CODE.fd edk2-i386-code.fd
|
|
|
|
cpy2 = FV/OVMF_VARS.fd edk2-i386-vars.fd
|
|
|
|
|
|
|
|
[build.ovmf.i386.secure]
|
|
|
|
desc = ovmf build (32-bit, secure boot)
|
|
|
|
conf = OvmfPkg/OvmfPkgIa32.dsc
|
|
|
|
arch = IA32
|
|
|
|
opts = common
|
|
|
|
ovmf.sb.smm
|
|
|
|
plat = OvmfIa32
|
|
|
|
dest = ../pc-bios
|
|
|
|
cpy1 = FV/OVMF_CODE.fd edk2-i386-secure-code.fd
|
|
|
|
|
|
|
|
####################################################################################
|
|
|
|
# x86_64
|
|
|
|
|
|
|
|
[build.ovmf.x86_64]
|
|
|
|
desc = ovmf build (64-bit)
|
|
|
|
conf = OvmfPkg/OvmfPkgX64.dsc
|
|
|
|
arch = X64
|
|
|
|
opts = common
|
|
|
|
plat = OvmfX64
|
|
|
|
dest = ../pc-bios
|
|
|
|
cpy1 = FV/OVMF_CODE.fd edk2-x86_64-code.fd
|
|
|
|
|
|
|
|
[build.ovmf.x86_64.secure]
|
|
|
|
desc = ovmf build (64-bit, secure boot)
|
2024-03-14 14:53:02 +03:00
|
|
|
conf = OvmfPkg/OvmfPkgX64.dsc
|
|
|
|
arch = X64
|
2023-03-09 13:21:27 +03:00
|
|
|
opts = common
|
|
|
|
ovmf.sb.smm
|
2024-03-14 14:53:02 +03:00
|
|
|
plat = OvmfX64
|
2023-03-09 13:21:27 +03:00
|
|
|
dest = ../pc-bios
|
|
|
|
cpy1 = FV/OVMF_CODE.fd edk2-x86_64-secure-code.fd
|
|
|
|
|
|
|
|
[build.ovmf.microvm]
|
|
|
|
desc = ovmf build for microvm
|
|
|
|
conf = OvmfPkg/Microvm/MicrovmX64.dsc
|
|
|
|
arch = X64
|
|
|
|
opts = common
|
|
|
|
plat = MicrovmX64
|
|
|
|
dest = ../pc-bios
|
|
|
|
cpy1 = FV/MICROVM.fd edk2-x86_64-microvm.fd
|
|
|
|
|
|
|
|
####################################################################################
|
|
|
|
# arm
|
|
|
|
|
|
|
|
[build.armvirt.arm]
|
|
|
|
desc = ArmVirt build, 32-bit (arm v7)
|
|
|
|
conf = ArmVirtPkg/ArmVirtQemu.dsc
|
|
|
|
arch = ARM
|
|
|
|
opts = common
|
|
|
|
armvirt.silent
|
2023-12-13 10:57:20 +03:00
|
|
|
pcds = nx.broken.shim.grub
|
2023-03-09 13:21:27 +03:00
|
|
|
plat = ArmVirtQemu-ARM
|
|
|
|
dest = ../pc-bios
|
|
|
|
cpy1 = FV/QEMU_EFI.fd edk2-arm-code.fd
|
|
|
|
cpy2 = FV/QEMU_VARS.fd edk2-arm-vars.fd
|
|
|
|
pad1 = edk2-arm-code.fd 64m
|
|
|
|
pad2 = edk2-arm-vars.fd 64m
|
|
|
|
|
|
|
|
####################################################################################
|
|
|
|
# aarch64
|
|
|
|
|
|
|
|
[build.armvirt.aa64]
|
|
|
|
desc = ArmVirt build, 64-bit (arm v8)
|
|
|
|
conf = ArmVirtPkg/ArmVirtQemu.dsc
|
|
|
|
arch = AARCH64
|
|
|
|
opts = common
|
|
|
|
armvirt.silent
|
2023-12-13 10:57:20 +03:00
|
|
|
pcds = nx.broken.shim.grub
|
2023-03-09 13:21:27 +03:00
|
|
|
plat = ArmVirtQemu-AARCH64
|
|
|
|
dest = ../pc-bios
|
|
|
|
cpy1 = FV/QEMU_EFI.fd edk2-aarch64-code.fd
|
|
|
|
pad1 = edk2-aarch64-code.fd 64m
|
|
|
|
|
|
|
|
####################################################################################
|
|
|
|
# riscv64
|
|
|
|
|
|
|
|
[build.riscv.qemu]
|
|
|
|
conf = OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc
|
|
|
|
arch = RISCV64
|
|
|
|
plat = RiscVVirtQemu
|
|
|
|
dest = ../pc-bios
|
2023-09-11 18:38:21 +03:00
|
|
|
cpy1 = FV/RISCV_VIRT_CODE.fd edk2-riscv-code.fd
|
|
|
|
cpy2 = FV/RISCV_VIRT_VARS.fd edk2-riscv-vars.fd
|
|
|
|
pad1 = edk2-riscv-code.fd 32m
|
|
|
|
pad2 = edk2-riscv-vars.fd 32m
|