[edk2-devel] [edk2-platforms] [patch V2 20/35] Platform/RISC-V: Consume MdeLibs.dsc.inc for RegisterFilterLib

Abner Chang abner.chang at hpe.com
Tue Mar 23 02:19:15 UTC 2021


Reviewed-by: Abner Chang <abner.chang at hpe.com>

> -----Original Message-----
> From: Dandan Bi [mailto:dandan.bi at intel.com]
> Sent: Monday, March 22, 2021 4:54 PM
> To: devel at edk2.groups.io
> Cc: Chang, Abner (HPS SW/FW Technologist) <abner.chang at hpe.com>;
> Schaefer, Daniel <daniel.schaefer at hpe.com>; Chen, Gilbert
> <gilbert.chen at hpe.com>
> Subject: [edk2-platforms] [patch V2 20/35] Platform/RISC-V: Consume
> MdeLibs.dsc.inc for RegisterFilterLib
> 
> REF: INVALID URI REMOVED
> 3A__bugzilla.tianocore.org_show-5Fbug.cgi-3Fid-
> 3D3246&d=DwIBAg&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ulks
> kz6qU3NYRO03nHp9P7Z5q59A3E&m=_CnRrE7TpYzPiad26wuviZ7-
> hraZ7axFdleD3UbsfWQ&s=tka2ER6th6Vl2aRgxQ0dZF9dvu-
> lO1e8sfj3gtcd4pI&e=
> 
> MdeLibs.dsc.inc was added for some basic/default library
> instances provided by MdePkg and RegisterFilterLibNull Library
> was also added into it as the first version of MdeLibs.dsc.inc.
> 
> So update platform dsc to consume MdeLibs.dsc.inc for
> RegisterFilterLibNull which will be consumed by IoLib and BaseLib.
> 
> Cc: Abner Chang <abner.chang at hpe.com>
> Cc: Daniel Schaefer <daniel.schaefer at hpe.com>
> Cc: Gilbert Chen <gilbert.chen at hpe.com>
> Signed-off-by: Dandan Bi <dandan.bi at intel.com>
> ---
>  Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc
> b/Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc
> index 092717d2ef..78a737317f 100644
> --- a/Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc
> +++ b/Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc
> @@ -35,10 +35,12 @@ [BuildOptions]
> 
> ##########################################################
> ######################
>  [SkuIds]
>    0|DEFAULT
> 
>  [LibraryClasses.common]
> +  !include MdePkg/MdeLibs.dsc.inc
> +
>    RiscVOpensbiPlatformLib|Platform/RISC-
> V/PlatformPkg/Library/OpensbiPlatformLibNull/OpensbiPlatformLibNull.inf
>    RiscVCpuLib|Silicon/RISC-
> V/ProcessorPkg/Library/RiscVCpuLib/RiscVCpuLib.inf
>    RiscVEdk2SbiLib|Silicon/RISC-
> V/ProcessorPkg/Library/RiscVEdk2SbiLib/RiscVEdk2SbiLib.inf
>    RiscVOpensbiLib|Silicon/RISC-
> V/ProcessorPkg/Library/RiscVOpensbiLib/RiscVOpensbiLib.inf
>    BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
> --
> 2.18.0.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#73164): https://edk2.groups.io/g/devel/message/73164
Mute This Topic: https://groups.io/mt/81519804/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-






More information about the edk2-devel-archive mailing list