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