From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 5D381740038 for ; Sat, 13 Jan 2024 01:05:45 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=gbNKrGzUjMqHbLmqVa/TSDnI5A6nbKGgiMdgkNuA22k=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1705107943; v=1; b=XkbBxvgBVMoeGqTat2bDemkyy0TL0aRwTla0bM1NLVAmjhxGhfc4m7rcdocu/SPIpokE/C+v WiOPxO5YP4UVcFJ6jXyV4tqY4dgQCTbPhyMVz3prF6HWIHZ19ylWYYB+FlQAq/0zu6pbn0IOwlX dITkoDH7fat5QPOK40FIhjSA= X-Received: by 127.0.0.2 with SMTP id VFYiYY7687511xQRgIr42qap; Fri, 12 Jan 2024 17:05:43 -0800 X-Received: from mail-il1-f169.google.com (mail-il1-f169.google.com [209.85.166.169]) by mx.groups.io with SMTP id smtpd.web11.10761.1705107943263880739 for ; Fri, 12 Jan 2024 17:05:43 -0800 X-Received: by mail-il1-f169.google.com with SMTP id e9e14a558f8ab-36066190a99so32761615ab.3 for ; Fri, 12 Jan 2024 17:05:43 -0800 (PST) X-Gm-Message-State: 7tvpglDdMDDueuYdTefVglnHx7686176AA= X-Google-Smtp-Source: AGHT+IFzkccRKlxr6qG+mzC547o04VvgUg33O8/E+YbfNE0YLmGtCRLKxwMe/PemYq49YEgEr1stJw== X-Received: by 2002:a05:6e02:188a:b0:360:655e:df6b with SMTP id o10-20020a056e02188a00b00360655edf6bmr2593804ilu.12.1705107942160; Fri, 12 Jan 2024 17:05:42 -0800 (PST) X-Received: from localhost.localdomain (c-174-50-176-176.hsd1.ca.comcast.net. [174.50.176.176]) by smtp.gmail.com with ESMTPSA id g13-20020a170902c98d00b001d46a313b51sm3786152plc.72.2024.01.12.17.05.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 17:05:41 -0800 (PST) From: "Tuan Phan" To: devel@edk2.groups.io Cc: sunilvl@ventanamicro.com, andrei.warkentin@intel.com, Tuan Phan Subject: [edk2-devel] [PATCH v2] OvmfPkg: RiscVVirt: Fix network drivers not be built Date: Fri, 12 Jan 2024 17:05:26 -0800 Message-Id: <20240113010526.8883-1-tphan@ventanamicro.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,tphan@ventanamicro.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=XkbBxvgB; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io 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 --- v2: - Rebase OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc b/OvmfPkg/RiscVVirt/RiscVV= irtQemu.dsc index f8b9479345d7..774dc8184049 100644 --- a/OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc +++ b/OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc @@ -52,6 +52,7 @@ =0D =0D !include MdePkg/MdeLibs.dsc.inc=0D +!include NetworkPkg/Network.dsc.inc=0D =0D [BuildOptions]=0D GCC:RELEASE_*_*_CC_FLAGS =3D -DMDEPKG_NDEBUG=0D @@ -69,8 +70,6 @@ #=0D ##########################################################################= ######=0D =0D -!include NetworkPkg/NetworkDefines.dsc.inc=0D -=0D !include OvmfPkg/RiscVVirt/RiscVVirt.dsc.inc=0D =0D !include MdePkg/MdeLibs.dsc.inc=0D @@ -126,8 +125,6 @@ UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf=0D PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExp= ressLib.inf=0D =0D -#!include NetworkPkg/NetworkBuildOptions.dsc.inc=0D -=0D ##########################################################################= ######=0D #=0D # Pcd Section - list of all EDK II PCD Entries defined by this Platform.=0D @@ -166,11 +163,6 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|3686400=0D gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|1=0D =0D - #=0D - # Network Pcds=0D - #=0D -!include NetworkPkg/NetworkPcds.dsc.inc=0D -=0D gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FAL= SE=0D gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c= , 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0= x31 }=0D =0D @@ -399,11 +391,6 @@ NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf=0D }=0D =0D - #=0D - # Networking stack=0D - #=0D -!include NetworkPkg/NetworkComponents.dsc.inc=0D -=0D NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf {=0D =0D NULL|OvmfPkg/Library/PxeBcPcdProducerLib/PxeBcPcdProducerLib.inf=0D --=20 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#113778): https://edk2.groups.io/g/devel/message/113778 Mute This Topic: https://groups.io/mt/103695672/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-