ArmVirtPkg: move network configuration to NetworkComponents.dsc.inc
Use `NetworkComponents.dsc.inc` for the network driver configuration to simplify changes across all DSC files. This also allows selective enabling or disabling the support for IPv4, IPv6, VirtioNet and ISCSI through `fw_cfg`. Signed-off-by: Luigi Leonardi <leonardi@redhat.com>
This commit is contained in:
parent
7fa3814887
commit
de1e14856d
|
@ -495,22 +495,7 @@
|
|||
# Networking stack
|
||||
#
|
||||
!include NetworkPkg/NetworkComponents.dsc.inc
|
||||
|
||||
!if $(NETWORK_ENABLE) == TRUE
|
||||
!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 {
|
||||
<LibraryClasses>
|
||||
NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
|
||||
}
|
||||
!endif
|
||||
!endif
|
||||
!include OvmfPkg/Include/Dsc/NetworkComponents.dsc.inc
|
||||
|
||||
#
|
||||
# SCSI Bus and Disk Driver
|
||||
|
|
|
@ -410,22 +410,7 @@
|
|||
# Networking stack
|
||||
#
|
||||
!include NetworkPkg/NetworkComponents.dsc.inc
|
||||
|
||||
!if $(NETWORK_ENABLE) == TRUE
|
||||
!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 {
|
||||
<LibraryClasses>
|
||||
NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
|
||||
}
|
||||
!endif
|
||||
!endif
|
||||
!include OvmfPkg/Include/Dsc/NetworkComponents.dsc.inc
|
||||
|
||||
#
|
||||
# SCSI Bus and Disk Driver
|
||||
|
|
Loading…
Reference in New Issue