audk/ArmVirtPkg
Mike Beaton 1d8d64b17b ArmVirtPkg: Fix unable to build with -D NETWORK_ENABLE=0
https://bugzilla.tianocore.org/show_bug.cgi?id=4829

7f17a15 (2024/02/22)
"OvmfPkg: Shell*.inc: allow building without network support"
breaks building OVMF with `-D NETWORK_ENABLE=0`.

Before this commit we could build OVMF e.g. with the following
command in the OvmfPkg directory:

./build.sh -D NETWORK_ENABLE=0

After the commit the same command fails early with:

/home/user/OpenSource/edk2/OvmfPkg/OvmfPkgX64.dsc(15):
error F001: Pcd (gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections)
defined in DSC is not declared in DEC files referenced in INF files in
FDF. Arch: ['X64']

This problem also applies in the ArmVirtPkg
platforms which are modified here, but is currently
masked by another issue, namely that these platforms
incorrectly still include some network packages when
most are disabled. (A fix for this was previously applied,
for OvmfPkg Intel platforms only, by
d933ec1 followed by
7f17a15 .)

This commit was created at the same time as the
commits resolving this issue in NetworkPkg and
OvmfPkg. It makes conditional the Pcd references
in ArmVirtPkg platforms which will become references to
undefined Pcds as and when the other issue mentioned
above is fixed.

Signed-off-by: Mike Beaton <mjsbeaton@gmail.com>
2024-09-09 11:32:31 +01:00
..
CloudHvAcpiPlatformDxe ArmVirtPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
CloudHvPlatformHasAcpiDtDxe ArmVirtPkg: can't find gUefiOvmfPkgTokenSpaceGuid 2023-03-28 16:27:06 +00:00
Include ArmVirtPkg: Move the FdtSerialPortAddressLib to OvmfPkg 2024-02-06 23:51:47 +08:00
KvmtoolCfgMgrDxe ArmVirtPkg: Fix KVM Guest Firmware 2022-08-02 17:07:08 +00:00
KvmtoolPlatformDxe ArmVirtPkg: Dispatch variable service if variable emulation is enabled 2023-05-29 15:14:00 +00:00
Library ArmVirtPkg: Use dynamic PCD to set the SMCCC conduit 2024-05-24 15:48:52 +00:00
MemoryInitPei ArmVirtPkg/ArmVirtQemu: use first 128 MiB as permanent PEI memory 2022-10-26 17:28:39 +00:00
PlatformCI Build: Replaced GCC5 toolchain with GCC. 2024-07-22 13:49:00 +03:00
PrePi SecurePE: Defined new PcdImageProtectionPolicy. 2024-07-22 13:49:00 +03:00
XenAcpiPlatformDxe ArmVirtPkg/XenAcpiPlatformDxe: Install FACS table from DT 2024-02-25 18:52:27 +00:00
XenPlatformHasAcpiDtDxe ArmVirtPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
XenioFdtDxe ArmVirtPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
ArmVirt.dsc.inc SecurePE: Defined new PcdImageProtectionPolicy. 2024-07-22 13:49:00 +03:00
ArmVirtCloudHv.dsc UE: Support UE generation and consumption. 2024-07-22 13:49:00 +03:00
ArmVirtCloudHv.fdf MdeModulePkg/Core/Dxe: Integrate CPU Architectural producer 2024-07-22 13:47:18 +03:00
ArmVirtKvmTool.dsc UE: Support UE generation and consumption. 2024-07-22 13:49:00 +03:00
ArmVirtKvmTool.fdf MdeModulePkg/Core/Dxe: Integrate CPU Architectural producer 2024-07-22 13:47:18 +03:00
ArmVirtPkg.ci.yaml ArmVirtPkg: Move PlatformBootManagerLib to OvmfPkg 2024-02-06 23:51:47 +08:00
ArmVirtPkg.dec ArmVirtPkg: Move two PCD variables into OvmfPkg 2024-02-06 23:51:47 +08:00
ArmVirtQemu.dsc ArmVirtPkg: Fix unable to build with -D NETWORK_ENABLE=0 2024-09-09 11:32:31 +01:00
ArmVirtQemu.fdf ArmVirtPkg/ArmVirtQemu: Permit the use of dynamic PCDs in PEI 2024-05-24 15:48:52 +00:00
ArmVirtQemuFvMain.fdf.inc MdeModulePkg/Core/Dxe: Integrate CPU Architectural producer 2024-07-22 13:47:18 +03:00
ArmVirtQemuKernel.dsc ArmVirtPkg: Fix unable to build with -D NETWORK_ENABLE=0 2024-09-09 11:32:31 +01:00
ArmVirtQemuKernel.fdf ArmVirtPkg: add FDF rule for self-relocating PrePi 2020-06-12 22:17:46 +00:00
ArmVirtRules.fdf.inc UE: Support UE generation and consumption. 2024-07-22 13:49:00 +03:00
ArmVirtXen.dsc UE: Support UE generation and consumption. 2024-07-22 13:49:00 +03:00
ArmVirtXen.fdf MdeModulePkg/Core/Dxe: Integrate CPU Architectural producer 2024-07-22 13:47:18 +03:00
VarStore.fdf.inc ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00