summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/LoongArchVirt
diff options
context:
space:
mode:
authorAlexander Gryanko <xpahos@gmail.com>2024-11-25 01:04:29 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-12-06 18:26:01 +0000
commit087a47688c3b31cfc75daccafc9755b1995cecf5 (patch)
tree4af973267e356b210cad8746244ce24833f8326a /OvmfPkg/LoongArchVirt
parent9e0c46efb0743985a309533bcc2fa682a37efec1 (diff)
downloadedk2-087a47688c3b31cfc75daccafc9755b1995cecf5.tar.gz
OvmfPkg: PXE boot option build flag
The second step is to add an option to the OvmfPkg module to disable PXE booting using the NETWORK_PXE_BOOT_ENABLE flag. The patch is divided into 3 parts. At the current stage the flag is not functional. Signed-off-by: Alexander Gryanko <xpahos@gmail.com>
Diffstat (limited to 'OvmfPkg/LoongArchVirt')
-rw-r--r--OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc3
1 files changed, 3 insertions, 0 deletions
diff --git a/OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc b/OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc
index e49bbf387a..128fdd9d7e 100644
--- a/OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc
+++ b/OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc
@@ -43,6 +43,7 @@
DEFINE NETWORK_TLS_ENABLE = FALSE
DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
DEFINE NETWORK_ISCSI_ENABLE = FALSE
+ DEFINE NETWORK_PXE_BOOT_ENABLE = TRUE
!include NetworkPkg/NetworkDefines.dsc.inc
############################################################################
@@ -545,10 +546,12 @@
#
!include NetworkPkg/NetworkComponents.dsc.inc
+!if $(NETWORK_PXE_BOOT_ENABLE) == TRUE
NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
<LibraryClasses>
NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
}
+!endif
!if $(NETWORK_TLS_ENABLE) == TRUE
NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {