Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OvmfPkg: fix building without network support for X64 QEMU
When NETWORK_ENABLE is set to FALSE, the compiler blames PCDs from gEfiNetworkPkgTokenSpaceGuid. To overcome this error, we need to add an extra conditional. NETWORK_IP4_ENABLE and NETWORK_IP6_ENABLE are not used because PXEv4 / PXEv6 boot support can be controlled from the QEMU command line. Tested on QEMU 9.0.2 with NETWORK_ENABLE=FALSE and NETWORK_ENABLE=TRUE builds. Cc: Ard Biesheuvel <[email protected]> Cc: Jiewen Yao <[email protected]> Cc: Gerd Hoffmann <[email protected]> Cc: Saloni Kasbekar <[email protected]> Cc: Zachary Clark-williams <[email protected]> Signed-off-by: Alexander Goncharov <[email protected]>
- Loading branch information