Reviewed-by: Abner Chang <abner.ch...@hpe.com> > -----Original Message----- > From: Dandan Bi [mailto:dandan...@intel.com] > Sent: Friday, March 26, 2021 4:39 PM > To: devel@edk2.groups.io > Cc: Chang, Abner (HPS SW/FW Technologist) <abner.ch...@hpe.com>; > Schaefer, Daniel <daniel.schae...@hpe.com>; Chen, Gilbert > <gilbert.c...@hpe.com> > Subject: [edk2-platforms] [patch V3 21/35] Platform/SiFive: 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=1gS4Zk0pxQK3vF4oqFkAoL9G7NrZVlIgj > b4OcSPatDw&s=H54pTOE25ZxggxmX9Xs1-qH5EAngZoRCVWt6iT_h2Yk&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.ch...@hpe.com> > Cc: Daniel Schaefer <daniel.schae...@hpe.com> > Cc: Gilbert Chen <gilbert.c...@hpe.com> > Signed-off-by: Dandan Bi <dandan...@intel.com> > Reviewed-by: Abner Chang <abner.ch...@hpe.com> > --- > V3: > Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common > [LibraryClasses] section since we can specify different [LibraryClasses] > section for libary instances in MdeLibs.dsc.inc. > --- > Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc | 3 +++ > .../U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc | 3 +++ > 2 files changed, 6 insertions(+) > > diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc > b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc > index 2d652d215f..b91823ceeb 100644 > --- a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc > +++ b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc > @@ -58,10 +58,13 @@ [SkuIds] > > ########################################################## > ###################### > # > # Library Class section - list of all Library Classes needed by this > Platform. > # > > ########################################################## > ###################### > + > +!include MdePkg/MdeLibs.dsc.inc > + > [LibraryClasses] > PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf > PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf > BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf > BaseLib|MdePkg/Library/BaseLib/BaseLib.inf > diff --git > a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.d > sc > b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540. > dsc > index 9f60475189..0eafe29880 100644 > --- > a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.d > sc > +++ > b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540. > dsc > @@ -58,10 +58,13 @@ [SkuIds] > > ########################################################## > ###################### > # > # Library Class section - list of all Library Classes needed by this > Platform. > # > > ########################################################## > ###################### > + > +!include MdePkg/MdeLibs.dsc.inc > + > [LibraryClasses] > PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf > PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf > BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.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 (#73497): https://edk2.groups.io/g/devel/message/73497 Mute This Topic: https://groups.io/mt/81623453/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-