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