NetworkPkg: PXE boot option build flag
Currently, the only way to disable PXE boot options is to change the PCD variables PcdIPv4PXESupport and PcdIPv6PXESupport in the source code or use the "--pcd" option in the build script. Other boot options such as HTTP or iSCSI can be disabled using the -D<option> flag. NETWORK_PXE_BOOT_ENABLE will add a consistent way to disable PXE booting. This is the third and final part of a series of patches to enable the NETWORK_PXE_BOOT_ENABLE build flag. At this point, the flag will be able to disable PXE functionality. Signed-off-by: Alexander Gryanko <xpahos@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
087a47688c
commit
35706d43c5
@@ -41,7 +41,10 @@
|
||||
!endif
|
||||
|
||||
NetworkPkg/TcpDxe/TcpDxe.inf
|
||||
NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
|
||||
|
||||
!if $(NETWORK_PXE_BOOT_ENABLE) == TRUE
|
||||
NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
|
||||
!endif
|
||||
|
||||
!if $(NETWORK_TLS_ENABLE) == TRUE
|
||||
NetworkPkg/TlsDxe/TlsDxe.inf
|
||||
|
||||
Reference in New Issue
Block a user