mirror of https://github.com/acidanthera/audk.git
OvmfPkg: gather common NetworkComponents overrides in .dsc.inc file
All QEMU based OVMF platforms override the same set of network components, to specify NULL library class resolutions that modify the behavior of those components in a QEMU specific way. Before adding more occurrences of that, let's drop those definitions in a common include file. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Acked-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
477b5b7d55
commit
d933ec115b
|
@ -827,18 +827,8 @@
|
|||
# Network Support
|
||||
#
|
||||
!include NetworkPkg/NetworkComponents.dsc.inc
|
||||
!include OvmfPkg/NetworkComponents.dsc.inc
|
||||
|
||||
NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
|
||||
<LibraryClasses>
|
||||
NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
|
||||
}
|
||||
|
||||
!if $(NETWORK_TLS_ENABLE) == TRUE
|
||||
NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
|
||||
<LibraryClasses>
|
||||
NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
|
||||
}
|
||||
!endif
|
||||
OvmfPkg/VirtioNetDxe/VirtioNet.inf
|
||||
|
||||
!if $(TOOL_CHAIN_TAG) != "XCODE5"
|
||||
|
|
|
@ -793,18 +793,8 @@
|
|||
# Network Support
|
||||
#
|
||||
!include NetworkPkg/NetworkComponents.dsc.inc
|
||||
!include OvmfPkg/NetworkComponents.dsc.inc
|
||||
|
||||
NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
|
||||
<LibraryClasses>
|
||||
NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
|
||||
}
|
||||
|
||||
!if $(NETWORK_TLS_ENABLE) == TRUE
|
||||
NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
|
||||
<LibraryClasses>
|
||||
NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
|
||||
}
|
||||
!endif
|
||||
OvmfPkg/VirtioNetDxe/VirtioNet.inf
|
||||
|
||||
#
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
##
|
||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
##
|
||||
|
||||
!if $(NETWORK_ENABLE) == TRUE
|
||||
NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
|
||||
<LibraryClasses>
|
||||
NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
|
||||
}
|
||||
|
||||
!if $(NETWORK_TLS_ENABLE) == TRUE
|
||||
NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
|
||||
<LibraryClasses>
|
||||
NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
|
||||
}
|
||||
!endif
|
||||
!endif
|
|
@ -879,18 +879,8 @@
|
|||
# Network Support
|
||||
#
|
||||
!include NetworkPkg/NetworkComponents.dsc.inc
|
||||
!include OvmfPkg/NetworkComponents.dsc.inc
|
||||
|
||||
NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
|
||||
<LibraryClasses>
|
||||
NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
|
||||
}
|
||||
|
||||
!if $(NETWORK_TLS_ENABLE) == TRUE
|
||||
NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
|
||||
<LibraryClasses>
|
||||
NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
|
||||
}
|
||||
!endif
|
||||
OvmfPkg/VirtioNetDxe/VirtioNet.inf
|
||||
|
||||
#
|
||||
|
|
|
@ -893,18 +893,8 @@
|
|||
# Network Support
|
||||
#
|
||||
!include NetworkPkg/NetworkComponents.dsc.inc
|
||||
!include OvmfPkg/NetworkComponents.dsc.inc
|
||||
|
||||
NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
|
||||
<LibraryClasses>
|
||||
NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
|
||||
}
|
||||
|
||||
!if $(NETWORK_TLS_ENABLE) == TRUE
|
||||
NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
|
||||
<LibraryClasses>
|
||||
NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
|
||||
}
|
||||
!endif
|
||||
OvmfPkg/VirtioNetDxe/VirtioNet.inf
|
||||
|
||||
#
|
||||
|
|
|
@ -961,18 +961,8 @@
|
|||
# Network Support
|
||||
#
|
||||
!include NetworkPkg/NetworkComponents.dsc.inc
|
||||
!include OvmfPkg/NetworkComponents.dsc.inc
|
||||
|
||||
NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
|
||||
<LibraryClasses>
|
||||
NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf
|
||||
}
|
||||
|
||||
!if $(NETWORK_TLS_ENABLE) == TRUE
|
||||
NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf {
|
||||
<LibraryClasses>
|
||||
NULL|OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.inf
|
||||
}
|
||||
!endif
|
||||
OvmfPkg/VirtioNetDxe/VirtioNet.inf
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue