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>
This commit is contained in:
parent
f6422011e5
commit
9e0c46efb0
|
@ -42,6 +42,7 @@
|
||||||
DEFINE NETWORK_TLS_ENABLE = FALSE
|
DEFINE NETWORK_TLS_ENABLE = FALSE
|
||||||
DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
|
DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
|
||||||
DEFINE NETWORK_ISCSI_ENABLE = FALSE
|
DEFINE NETWORK_ISCSI_ENABLE = FALSE
|
||||||
|
DEFINE NETWORK_PXE_BOOT_ENABLE = TRUE
|
||||||
|
|
||||||
!if $(NETWORK_SNP_ENABLE) == TRUE
|
!if $(NETWORK_SNP_ENABLE) == TRUE
|
||||||
!error "NETWORK_SNP_ENABLE is IA32/X64/EBC only"
|
!error "NETWORK_SNP_ENABLE is IA32/X64/EBC only"
|
||||||
|
@ -496,10 +497,12 @@
|
||||||
#
|
#
|
||||||
!include NetworkPkg/NetworkComponents.dsc.inc
|
!include NetworkPkg/NetworkComponents.dsc.inc
|
||||||
|
|
||||||
|
!if $(NETWORK_PXE_BOOT_ENABLE) == TRUE
|
||||||
NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
|
NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
|
||||||
<LibraryClasses>
|
<LibraryClasses>
|
||||||
NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
|
NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
|
||||||
}
|
}
|
||||||
|
!endif
|
||||||
|
|
||||||
!if $(NETWORK_TLS_ENABLE) == TRUE
|
!if $(NETWORK_TLS_ENABLE) == TRUE
|
||||||
NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
|
NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
|
||||||
|
|
|
@ -39,6 +39,7 @@
|
||||||
DEFINE NETWORK_TLS_ENABLE = FALSE
|
DEFINE NETWORK_TLS_ENABLE = FALSE
|
||||||
DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
|
DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
|
||||||
DEFINE NETWORK_ISCSI_ENABLE = FALSE
|
DEFINE NETWORK_ISCSI_ENABLE = FALSE
|
||||||
|
DEFINE NETWORK_PXE_BOOT_ENABLE = TRUE
|
||||||
|
|
||||||
!if $(NETWORK_SNP_ENABLE) == TRUE
|
!if $(NETWORK_SNP_ENABLE) == TRUE
|
||||||
!error "NETWORK_SNP_ENABLE is IA32/X64/EBC only"
|
!error "NETWORK_SNP_ENABLE is IA32/X64/EBC only"
|
||||||
|
@ -406,10 +407,12 @@
|
||||||
#
|
#
|
||||||
!include NetworkPkg/NetworkComponents.dsc.inc
|
!include NetworkPkg/NetworkComponents.dsc.inc
|
||||||
|
|
||||||
|
!if $(NETWORK_PXE_BOOT_ENABLE) == TRUE
|
||||||
NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
|
NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
|
||||||
<LibraryClasses>
|
<LibraryClasses>
|
||||||
NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
|
NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
|
||||||
}
|
}
|
||||||
|
!endif
|
||||||
|
|
||||||
!if $(NETWORK_TLS_ENABLE) == TRUE
|
!if $(NETWORK_TLS_ENABLE) == TRUE
|
||||||
NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
|
NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
|
||||||
|
|
Loading…
Reference in New Issue