mirror of
				https://gitlab.com/qemu-project/edk2.git
				synced 2025-10-30 07:56:39 +08:00 
			
		
		
		
	 35706d43c5
			
		
	
	35706d43c5
	
	
	
		
			
			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>
		
			
				
	
	
		
			68 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			68 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| ## @file
 | |
| # Network DSC include file for [Components*] section of all Architectures.
 | |
| #
 | |
| # This file can be included to the [Components*] section(s) of a platform DSC file
 | |
| # by using "!include NetworkPkg/NetworkComponents.dsc.inc" to specify the INF files
 | |
| # of EDKII network drivers according to the value of flags described in
 | |
| # "NetworkDefines.dsc.inc".
 | |
| #
 | |
| # Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
 | |
| #
 | |
| #    SPDX-License-Identifier: BSD-2-Clause-Patent
 | |
| #
 | |
| ##
 | |
| 
 | |
| !if $(NETWORK_ENABLE) == TRUE
 | |
|   NetworkPkg/DpcDxe/DpcDxe.inf
 | |
| 
 | |
|   !if $(NETWORK_SNP_ENABLE) == TRUE
 | |
|     NetworkPkg/SnpDxe/SnpDxe.inf
 | |
|   !endif
 | |
| 
 | |
|   !if $(NETWORK_VLAN_ENABLE) == TRUE
 | |
|     NetworkPkg/VlanConfigDxe/VlanConfigDxe.inf
 | |
|   !endif
 | |
| 
 | |
|   NetworkPkg/MnpDxe/MnpDxe.inf
 | |
| 
 | |
|   !if $(NETWORK_IP4_ENABLE) == TRUE
 | |
|     NetworkPkg/ArpDxe/ArpDxe.inf
 | |
|     NetworkPkg/Dhcp4Dxe/Dhcp4Dxe.inf
 | |
|     NetworkPkg/Ip4Dxe/Ip4Dxe.inf
 | |
|     NetworkPkg/Udp4Dxe/Udp4Dxe.inf
 | |
|     NetworkPkg/Mtftp4Dxe/Mtftp4Dxe.inf
 | |
|   !endif
 | |
| 
 | |
|   !if $(NETWORK_IP6_ENABLE) == TRUE
 | |
|     NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
 | |
|     NetworkPkg/Ip6Dxe/Ip6Dxe.inf
 | |
|     NetworkPkg/Udp6Dxe/Udp6Dxe.inf
 | |
|     NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
 | |
|   !endif
 | |
| 
 | |
|   NetworkPkg/TcpDxe/TcpDxe.inf
 | |
| 
 | |
|   !if $(NETWORK_PXE_BOOT_ENABLE) == TRUE
 | |
|     NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
 | |
|   !endif
 | |
| 
 | |
|   !if $(NETWORK_TLS_ENABLE) == TRUE
 | |
|     NetworkPkg/TlsDxe/TlsDxe.inf
 | |
|     NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
 | |
|   !endif
 | |
| 
 | |
|   !if ($(NETWORK_HTTP_BOOT_ENABLE) == TRUE) OR ($(NETWORK_HTTP_ENABLE) == TRUE)
 | |
|     NetworkPkg/DnsDxe/DnsDxe.inf
 | |
|     NetworkPkg/HttpDxe/HttpDxe.inf
 | |
|     NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
 | |
|   !endif
 | |
| 
 | |
|   !if $(NETWORK_HTTP_BOOT_ENABLE) == TRUE
 | |
|     NetworkPkg/HttpBootDxe/HttpBootDxe.inf
 | |
|   !endif
 | |
| 
 | |
|   !if $(NETWORK_ISCSI_ENABLE) == TRUE
 | |
|     NetworkPkg/IScsiDxe/IScsiDxe.inf
 | |
|   !endif
 | |
| !endif
 |