diff options
author | Mike Beaton <mjsbeaton@gmail.com> | 2024-08-24 09:13:37 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-09-12 21:34:33 +0000 |
commit | af60615f0ef5f5d5ab3f9cea3215e07b8c73b600 (patch) | |
tree | 84c8ebccb446e2737e52648e66c9fabc7306c6a2 /OvmfPkg/OvmfPkgX64.dsc | |
parent | 8f74b95a21cf106fa4eb4932e22b404c57297ba2 (diff) | |
download | edk2-af60615f0ef5f5d5ab3f9cea3215e07b8c73b600.tar.gz edk2-af60615f0ef5f5d5ab3f9cea3215e07b8c73b600.tar.bz2 edk2-af60615f0ef5f5d5ab3f9cea3215e07b8c73b600.zip |
NetworkPkg: Fix unable to build OVMF 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 commit conditionally removes the undefined Pcd reference in
NetworkPkg which is part of this issue.
Similar changes are needed in separate commits for
OvmfPkg (and for ArmVirtPkg, since the issue also
exists there, although masked by another issue).
Signed-off-by: Mike Beaton <mjsbeaton@gmail.com>
Diffstat (limited to 'OvmfPkg/OvmfPkgX64.dsc')
0 files changed, 0 insertions, 0 deletions