summaryrefslogtreecommitdiffstats
path: root/ArmVirtPkg/ArmVirtKvmTool.fdf
diff options
context:
space:
mode:
authorMike Beaton <mjsbeaton@gmail.com>2024-09-12 00:23:52 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-01-16 23:06:40 +0000
commite8de4716609c2ff3d239a28dabb012b73f52061a (patch)
treecefdcacceadebc8e51ef743a8ecf77ac82354872 /ArmVirtPkg/ArmVirtKvmTool.fdf
parent9a2132036155969738ed46b2364de2a048287136 (diff)
downloadedk2-e8de4716609c2ff3d239a28dabb012b73f52061a.tar.gz
ArmVirtPkg: Include no network components with -D NETWORK_ENABLE=0
This issue showed up when addressing https://bugzilla.tianocore.org/show_bug.cgi?id=4829 in https://github.com/tianocore/edk2/pull/6087 . Various OvmfPkg and ArmVirtPkg platforms include some residual NetworkPkg components when compiled with -D NETWORK_ENABLE=0, even though they use NetworkPkg includes intended to allow all NetworkPkg components to be disabled on this flag. For the OvmfPkg Intel platforms only, commit d933ec115bdf9be1d8dfe6a818414a14973cc0d3 started the change of not including these residual NetworkPkg components, and commit 7f17a155640a2a9e1f7b0f3522628ee2c6f62624 completed it. This commit rolls these changes out to the ArmVirtPkg platforms where they make sense in the same way. Signed-off-by: Mike Beaton <mjsbeaton@gmail.com>
Diffstat (limited to 'ArmVirtPkg/ArmVirtKvmTool.fdf')
-rw-r--r--ArmVirtPkg/ArmVirtKvmTool.fdf2
1 files changed, 2 insertions, 0 deletions
diff --git a/ArmVirtPkg/ArmVirtKvmTool.fdf b/ArmVirtPkg/ArmVirtKvmTool.fdf
index cdf756c112..ed2804fc54 100644
--- a/ArmVirtPkg/ArmVirtKvmTool.fdf
+++ b/ArmVirtPkg/ArmVirtKvmTool.fdf
@@ -174,7 +174,9 @@ READ_LOCK_STATUS = TRUE
INF OvmfPkg/VirtioRngDxe/VirtioRng.inf
INF ShellPkg/Application/Shell/Shell.inf
+!if $(NETWORK_ENABLE) == TRUE
INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
+!endif
#
# Bds