OvmfPkg: RiscVVirt: Fix network drivers not be built

Only need to include Network.dsc.inc to have all network
drivers/components be built. Otherwise, there were missing definition
that prevent them from be built for RiscVVirt platform.

Signed-off-by: Tuan Phan <tphan@ventanamicro.com>
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
This commit is contained in:
Tuan Phan 2024-01-12 17:05:26 -08:00 committed by mergify[bot]
parent c15a899d83
commit 6a01fb2ea5
1 changed files with 1 additions and 14 deletions

View File

@ -52,6 +52,7 @@
!include MdePkg/MdeLibs.dsc.inc !include MdePkg/MdeLibs.dsc.inc
!include NetworkPkg/Network.dsc.inc
[BuildOptions] [BuildOptions]
GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
@ -69,8 +70,6 @@
# #
################################################################################ ################################################################################
!include NetworkPkg/NetworkDefines.dsc.inc
!include OvmfPkg/RiscVVirt/RiscVVirt.dsc.inc !include OvmfPkg/RiscVVirt/RiscVVirt.dsc.inc
!include MdePkg/MdeLibs.dsc.inc !include MdePkg/MdeLibs.dsc.inc
@ -126,8 +125,6 @@
UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
#!include NetworkPkg/NetworkBuildOptions.dsc.inc
################################################################################ ################################################################################
# #
# Pcd Section - list of all EDK II PCD Entries defined by this Platform. # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
@ -166,11 +163,6 @@
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|3686400 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|3686400
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|1 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|1
#
# Network Pcds
#
!include NetworkPkg/NetworkPcds.dsc.inc
gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 } gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
@ -399,11 +391,6 @@
NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
} }
#
# Networking stack
#
!include NetworkPkg/NetworkComponents.dsc.inc
NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf { NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {
<LibraryClasses> <LibraryClasses>
NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf