summaryrefslogtreecommitdiffstats
path: root/ArmVirtPkg/ArmVirtQemu.dsc
diff options
context:
space:
mode:
authorAlexander Gryanko <xpahos@gmail.com>2024-11-25 00:47:27 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-12-06 18:26:01 +0000
commit9e0c46efb0743985a309533bcc2fa682a37efec1 (patch)
treed3ec00163d758332275f85c5d4bf362fea94d214 /ArmVirtPkg/ArmVirtQemu.dsc
parentf6422011e5e7070f5622a359b06264f1a3d046af (diff)
downloadedk2-9e0c46efb0743985a309533bcc2fa682a37efec1.tar.gz
ArmVirtPkg: PXE boot option build flag
The first step is to add an option to disable PXE loading. The patch is divided into 3 parts. This part adds the NETWORK_PXE_BOOT_ENABLE flag to the ArmVirtPkg module. At the current stage the flag is not functional. Signed-off-by: Alexander Gryanko <xpahos@gmail.com>
Diffstat (limited to 'ArmVirtPkg/ArmVirtQemu.dsc')
-rw-r--r--ArmVirtPkg/ArmVirtQemu.dsc3
1 files changed, 3 insertions, 0 deletions
diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc
index 16bec9785e..befefd7d03 100644
--- a/ArmVirtPkg/ArmVirtQemu.dsc
+++ b/ArmVirtPkg/ArmVirtQemu.dsc
@@ -42,6 +42,7 @@
DEFINE NETWORK_TLS_ENABLE = FALSE
DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
DEFINE NETWORK_ISCSI_ENABLE = FALSE
+ DEFINE NETWORK_PXE_BOOT_ENABLE = TRUE
!if $(NETWORK_SNP_ENABLE) == TRUE
!error "NETWORK_SNP_ENABLE is IA32/X64/EBC only"
@@ -496,10 +497,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 {