xref: /openbmc/qemu/roms/edk2-build.config (revision bed150be)
1[global]
2core = edk2
3
4####################################################################################
5# options
6
7[opts.common]
8NETWORK_HTTP_BOOT_ENABLE = TRUE
9NETWORK_IP6_ENABLE       = TRUE
10NETWORK_TLS_ENABLE       = TRUE
11NETWORK_ISCSI_ENABLE     = TRUE
12NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
13TPM2_ENABLE              = TRUE
14TPM2_CONFIG_ENABLE       = TRUE
15TPM1_ENABLE              = TRUE
16CAVIUM_ERRATUM_27456     = TRUE
17
18[opts.ovmf.sb.smm]
19SECURE_BOOT_ENABLE       = TRUE
20SMM_REQUIRE              = TRUE
21BUILD_SHELL              = FALSE
22
23[opts.armvirt.silent]
24DEBUG_PRINT_ERROR_LEVEL  = 0x80000000
25
26[pcds.nx.strict]
27PcdDxeNxMemoryProtectionPolicy = 0xC000000000007FD5
28PcdUninstallMemAttrProtocol    = FALSE
29
30[pcds.nx.broken.shim.grub]
31# grub.efi uses EfiLoaderData for code
32PcdDxeNxMemoryProtectionPolicy = 0xC000000000007FD1
33# shim.efi has broken MemAttr code
34PcdUninstallMemAttrProtocol    = TRUE
35
36####################################################################################
37# i386
38
39[build.ovmf.i386]
40desc = ovmf build (32-bit)
41conf = OvmfPkg/OvmfPkgIa32.dsc
42arch = IA32
43opts = common
44plat = OvmfIa32
45dest = ../pc-bios
46cpy1 = FV/OVMF_CODE.fd edk2-i386-code.fd
47cpy2 = FV/OVMF_VARS.fd edk2-i386-vars.fd
48
49[build.ovmf.i386.secure]
50desc = ovmf build (32-bit, secure boot)
51conf = OvmfPkg/OvmfPkgIa32.dsc
52arch = IA32
53opts = common
54       ovmf.sb.smm
55plat = OvmfIa32
56dest = ../pc-bios
57cpy1 = FV/OVMF_CODE.fd edk2-i386-secure-code.fd
58
59####################################################################################
60# x86_64
61
62[build.ovmf.x86_64]
63desc = ovmf build (64-bit)
64conf = OvmfPkg/OvmfPkgX64.dsc
65arch = X64
66opts = common
67plat = OvmfX64
68dest = ../pc-bios
69cpy1 = FV/OVMF_CODE.fd edk2-x86_64-code.fd
70
71[build.ovmf.x86_64.secure]
72desc = ovmf build (64-bit, secure boot)
73conf = OvmfPkg/OvmfPkgX64.dsc
74arch = X64
75opts = common
76       ovmf.sb.smm
77plat = OvmfX64
78dest = ../pc-bios
79cpy1 = FV/OVMF_CODE.fd edk2-x86_64-secure-code.fd
80
81[build.ovmf.microvm]
82desc = ovmf build for microvm
83conf = OvmfPkg/Microvm/MicrovmX64.dsc
84arch = X64
85opts = common
86plat = MicrovmX64
87dest = ../pc-bios
88cpy1 = FV/MICROVM.fd  edk2-x86_64-microvm.fd
89
90####################################################################################
91# arm
92
93[build.armvirt.arm]
94desc = ArmVirt build, 32-bit (arm v7)
95conf = ArmVirtPkg/ArmVirtQemu.dsc
96arch = ARM
97opts = common
98       armvirt.silent
99pcds = nx.broken.shim.grub
100plat = ArmVirtQemu-ARM
101dest = ../pc-bios
102cpy1 = FV/QEMU_EFI.fd    edk2-arm-code.fd
103cpy2 = FV/QEMU_VARS.fd   edk2-arm-vars.fd
104pad1 = edk2-arm-code.fd  64m
105pad2 = edk2-arm-vars.fd  64m
106
107####################################################################################
108# aarch64
109
110[build.armvirt.aa64]
111desc = ArmVirt build, 64-bit (arm v8)
112conf = ArmVirtPkg/ArmVirtQemu.dsc
113arch = AARCH64
114opts = common
115       armvirt.silent
116pcds = nx.broken.shim.grub
117plat = ArmVirtQemu-AARCH64
118dest = ../pc-bios
119cpy1 = FV/QEMU_EFI.fd  edk2-aarch64-code.fd
120pad1 = edk2-aarch64-code.fd  64m
121
122####################################################################################
123# riscv64
124
125[build.riscv.qemu]
126conf = OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc
127arch = RISCV64
128plat = RiscVVirtQemu
129dest = ../pc-bios
130cpy1 = FV/RISCV_VIRT_CODE.fd  edk2-riscv-code.fd
131cpy2 = FV/RISCV_VIRT_VARS.fd  edk2-riscv-vars.fd
132pad1 = edk2-riscv-code.fd     32m
133pad2 = edk2-riscv-vars.fd     32m
134