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