xref: /openbmc/qemu/roms/edk2-build.config (revision b0494f13)
122e11539SGerd Hoffmann[global]
222e11539SGerd Hoffmanncore = edk2
322e11539SGerd Hoffmann
422e11539SGerd Hoffmann####################################################################################
522e11539SGerd Hoffmann# options
622e11539SGerd Hoffmann
722e11539SGerd Hoffmann[opts.common]
822e11539SGerd HoffmannNETWORK_HTTP_BOOT_ENABLE = TRUE
922e11539SGerd HoffmannNETWORK_IP6_ENABLE       = TRUE
1022e11539SGerd HoffmannNETWORK_TLS_ENABLE       = TRUE
1122e11539SGerd HoffmannNETWORK_ISCSI_ENABLE     = TRUE
1222e11539SGerd HoffmannNETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
1322e11539SGerd HoffmannTPM2_ENABLE              = TRUE
1422e11539SGerd HoffmannTPM2_CONFIG_ENABLE       = TRUE
1522e11539SGerd HoffmannTPM1_ENABLE              = TRUE
1622e11539SGerd HoffmannCAVIUM_ERRATUM_27456     = TRUE
1722e11539SGerd Hoffmann
1822e11539SGerd Hoffmann[opts.ovmf.sb.smm]
1922e11539SGerd HoffmannSECURE_BOOT_ENABLE       = TRUE
2022e11539SGerd HoffmannSMM_REQUIRE              = TRUE
2122e11539SGerd Hoffmann
2222e11539SGerd Hoffmann[opts.armvirt.silent]
2322e11539SGerd HoffmannDEBUG_PRINT_ERROR_LEVEL  = 0x80000000
2422e11539SGerd Hoffmann
2522e11539SGerd Hoffmann[pcds.nx.broken.grub]
2622e11539SGerd Hoffmann# grub.efi uses EfiLoaderData for code
2722e11539SGerd HoffmannPcdDxeNxMemoryProtectionPolicy = 0xC000000000007FD1
2822e11539SGerd Hoffmann
2922e11539SGerd Hoffmann####################################################################################
3022e11539SGerd Hoffmann# i386
3122e11539SGerd Hoffmann
3222e11539SGerd Hoffmann[build.ovmf.i386]
3322e11539SGerd Hoffmanndesc = ovmf build (32-bit)
3422e11539SGerd Hoffmannconf = OvmfPkg/OvmfPkgIa32.dsc
3522e11539SGerd Hoffmannarch = IA32
3622e11539SGerd Hoffmannopts = common
3722e11539SGerd Hoffmannplat = OvmfIa32
3822e11539SGerd Hoffmanndest = ../pc-bios
3922e11539SGerd Hoffmanncpy1 = FV/OVMF_CODE.fd edk2-i386-code.fd
4022e11539SGerd Hoffmanncpy2 = FV/OVMF_VARS.fd edk2-i386-vars.fd
4122e11539SGerd Hoffmann
4222e11539SGerd Hoffmann[build.ovmf.i386.secure]
4322e11539SGerd Hoffmanndesc = ovmf build (32-bit, secure boot)
4422e11539SGerd Hoffmannconf = OvmfPkg/OvmfPkgIa32.dsc
4522e11539SGerd Hoffmannarch = IA32
4622e11539SGerd Hoffmannopts = common
4722e11539SGerd Hoffmann       ovmf.sb.smm
4822e11539SGerd Hoffmannplat = OvmfIa32
4922e11539SGerd Hoffmanndest = ../pc-bios
5022e11539SGerd Hoffmanncpy1 = FV/OVMF_CODE.fd edk2-i386-secure-code.fd
5122e11539SGerd Hoffmann
5222e11539SGerd Hoffmann####################################################################################
5322e11539SGerd Hoffmann# x86_64
5422e11539SGerd Hoffmann
5522e11539SGerd Hoffmann[build.ovmf.x86_64]
5622e11539SGerd Hoffmanndesc = ovmf build (64-bit)
5722e11539SGerd Hoffmannconf = OvmfPkg/OvmfPkgX64.dsc
5822e11539SGerd Hoffmannarch = X64
5922e11539SGerd Hoffmannopts = common
6022e11539SGerd Hoffmannplat = OvmfX64
6122e11539SGerd Hoffmanndest = ../pc-bios
6222e11539SGerd Hoffmanncpy1 = FV/OVMF_CODE.fd edk2-x86_64-code.fd
6322e11539SGerd Hoffmann
6422e11539SGerd Hoffmann[build.ovmf.x86_64.secure]
6522e11539SGerd Hoffmanndesc = ovmf build (64-bit, secure boot)
6622e11539SGerd Hoffmannconf = OvmfPkg/OvmfPkgIa32X64.dsc
6722e11539SGerd Hoffmannarch = IA32 X64
6822e11539SGerd Hoffmannopts = common
6922e11539SGerd Hoffmann       ovmf.sb.smm
7022e11539SGerd Hoffmannplat = Ovmf3264
7122e11539SGerd Hoffmanndest = ../pc-bios
7222e11539SGerd Hoffmanncpy1 = FV/OVMF_CODE.fd edk2-x86_64-secure-code.fd
7322e11539SGerd Hoffmann
7422e11539SGerd Hoffmann[build.ovmf.microvm]
7522e11539SGerd Hoffmanndesc = ovmf build for microvm
7622e11539SGerd Hoffmannconf = OvmfPkg/Microvm/MicrovmX64.dsc
7722e11539SGerd Hoffmannarch = X64
7822e11539SGerd Hoffmannopts = common
7922e11539SGerd Hoffmannplat = MicrovmX64
8022e11539SGerd Hoffmanndest = ../pc-bios
8122e11539SGerd Hoffmanncpy1 = FV/MICROVM.fd  edk2-x86_64-microvm.fd
8222e11539SGerd Hoffmann
8322e11539SGerd Hoffmann####################################################################################
8422e11539SGerd Hoffmann# arm
8522e11539SGerd Hoffmann
8622e11539SGerd Hoffmann[build.armvirt.arm]
8722e11539SGerd Hoffmanndesc = ArmVirt build, 32-bit (arm v7)
8822e11539SGerd Hoffmannconf = ArmVirtPkg/ArmVirtQemu.dsc
8922e11539SGerd Hoffmannarch = ARM
9022e11539SGerd Hoffmannopts = common
9122e11539SGerd Hoffmann       armvirt.silent
9222e11539SGerd Hoffmannpcds = nx.broken.grub
9322e11539SGerd Hoffmannplat = ArmVirtQemu-ARM
9422e11539SGerd Hoffmanndest = ../pc-bios
9522e11539SGerd Hoffmanncpy1 = FV/QEMU_EFI.fd    edk2-arm-code.fd
9622e11539SGerd Hoffmanncpy2 = FV/QEMU_VARS.fd   edk2-arm-vars.fd
9722e11539SGerd Hoffmannpad1 = edk2-arm-code.fd  64m
9822e11539SGerd Hoffmannpad2 = edk2-arm-vars.fd  64m
9922e11539SGerd Hoffmann
10022e11539SGerd Hoffmann####################################################################################
10122e11539SGerd Hoffmann# aarch64
10222e11539SGerd Hoffmann
10322e11539SGerd Hoffmann[build.armvirt.aa64]
10422e11539SGerd Hoffmanndesc = ArmVirt build, 64-bit (arm v8)
10522e11539SGerd Hoffmannconf = ArmVirtPkg/ArmVirtQemu.dsc
10622e11539SGerd Hoffmannarch = AARCH64
10722e11539SGerd Hoffmannopts = common
10822e11539SGerd Hoffmann       armvirt.silent
10922e11539SGerd Hoffmannpcds = nx.broken.grub
11022e11539SGerd Hoffmannplat = ArmVirtQemu-AARCH64
11122e11539SGerd Hoffmanndest = ../pc-bios
11222e11539SGerd Hoffmanncpy1 = FV/QEMU_EFI.fd  edk2-aarch64-code.fd
11322e11539SGerd Hoffmannpad1 = edk2-aarch64-code.fd  64m
11422e11539SGerd Hoffmann
11522e11539SGerd Hoffmann####################################################################################
11622e11539SGerd Hoffmann# riscv64
11722e11539SGerd Hoffmann
11822e11539SGerd Hoffmann[build.riscv.qemu]
11922e11539SGerd Hoffmannconf = OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc
12022e11539SGerd Hoffmannarch = RISCV64
12122e11539SGerd Hoffmannplat = RiscVVirtQemu
12222e11539SGerd Hoffmanndest = ../pc-bios
123*b0494f13SGerd Hoffmanncpy1 = FV/RISCV_VIRT_CODE.fd  edk2-riscv-code.fd
124*b0494f13SGerd Hoffmanncpy2 = FV/RISCV_VIRT_VARS.fd  edk2-riscv-vars.fd
125*b0494f13SGerd Hoffmannpad1 = edk2-riscv-code.fd     32m
126*b0494f13SGerd Hoffmannpad2 = edk2-riscv-vars.fd     32m
127