diff options
| author | Mike Beaton <mjsbeaton@gmail.com> | 2025-11-07 01:02:05 +0300 |
|---|---|---|
| committer | Ard Biesheuvel <workofard@gmail.com> | 2025-11-21 14:08:00 +0300 |
| commit | b197541f2946d8dd4685243a32599b631e574947 (patch) | |
| tree | d9b34c618a210167c4ec600c32f7361025caeacb /BaseTools/Source/Python/AutoGen/ModuleAutoGen.py | |
| parent | 46548b1adac82211d8d11da12dd914f41e7aa775 (diff) | |
| download | edk2-b197541f2946d8dd4685243a32599b631e574947.tar.xz | |
OvmfPkg,ArmVirtPkg,NetworkPkg: Fix build with -D NETWORK_ENABLE=0
Previous PR https://github.com/tianocore/edk2/pull/6087 restored the
ability to build OvmfPkg with -D NETWORK_ENABLE=0.
b3b3cfab7eb52acd77558a9727196e30d05d1f2a has broken it again, since the
.dsc references to OvmfPkg/VirtioNetDxe/VirtioNet.inf were moved from
outside !if $(NETWORK_ENABLE) == TRUE to inside it, while the .fdf
references remained outside.
In discussion in https://github.com/tianocore/edk2/pull/11719 it was
decided to move the .fdf references inside the conditional, i.e. not to
include VirtioNetDxe unless the rest of the network stack is being built.
Removal of VirtioNetDxe driver on -D NETWORK_ENABLE=0 has only
been applied to those packages which are already using
OvmfPkg/Dsc/Includes/NetworkComponents.dsc.inc.
f9408b7cc160030c3bb9627c8086a792cc2d046c introduces new PCDs which also
need to be moved inside a NETWORK_ENABLE test in order to allow building
with -D NETWORK_ENABLE=0, which is also done here.
Continuous-integration-options: PatchCheck.ignore-multi-package
Signed-off-by: Mike Beaton <mjsbeaton@gmail.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/ModuleAutoGen.py')
0 files changed, 0 insertions, 0 deletions
