diff mbox series

[edk2,edk2-platforms] AMD, Hisilicon, Socionext: fix build after DxeCapsuleLibFmp changes

Message ID 20180213164554.5333-1-leif.lindholm@linaro.org
State New
Headers show
Series [edk2,edk2-platforms] AMD, Hisilicon, Socionext: fix build after DxeCapsuleLibFmp changes | expand

Commit Message

Leif Lindholm Feb. 13, 2018, 4:45 p.m. UTC
edk2 commit 1ec2e7d0e8db
("MdeModulePkg/DxeCapsuleLibFmp: Use BmpSupportLib") broke the build of
all platforms that include DxeCapsuleLibFmp, since none of them included
a BmpSupportLib (added as part of the same series).

BmpSupportLib itself depends on SafeIntLib, so add the two libraries to
all affected platforms.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>

---
 Platform/AMD/OverdriveBoard/OverdriveBoard.dsc               | 2 ++
 Platform/Socionext/DeveloperBox/DeveloperBox.dsc             | 2 ++
 Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc | 2 ++
 Silicon/Hisilicon/Hisilicon.dsc.inc                          | 2 ++
 4 files changed, 8 insertions(+)

-- 
2.11.0

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Comments

Kinney, Michael D Feb. 13, 2018, 6:27 p.m. UTC | #1
Hi Leif,

I forgot to send the edk2-platforms patch that I had prepared
that goes with the BmpSupportLib patch on edk2/master.

I found a few more DSC file that needed updates.

I will send out my patch.

Mike

> -----Original Message-----

> From: Leif Lindholm [mailto:leif.lindholm@linaro.org]

> Sent: Tuesday, February 13, 2018 8:46 AM

> To: edk2-devel@lists.01.org

> Cc: ard.biesheuvel@linaro.org; Kinney, Michael D

> <michael.d.kinney@intel.com>

> Subject: [PATCH edk2-platforms] AMD, Hisilicon,

> Socionext: fix build after DxeCapsuleLibFmp changes

> 

> edk2 commit 1ec2e7d0e8db

> ("MdeModulePkg/DxeCapsuleLibFmp: Use BmpSupportLib")

> broke the build of

> all platforms that include DxeCapsuleLibFmp, since none

> of them included

> a BmpSupportLib (added as part of the same series).

> 

> BmpSupportLib itself depends on SafeIntLib, so add the

> two libraries to

> all affected platforms.

> 

> Contributed-under: TianoCore Contribution Agreement 1.1

> Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>

> ---

>  Platform/AMD/OverdriveBoard/OverdriveBoard.dsc

> | 2 ++

>  Platform/Socionext/DeveloperBox/DeveloperBox.dsc

> | 2 ++

> 

> Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.

> dsc | 2 ++

>  Silicon/Hisilicon/Hisilicon.dsc.inc

> | 2 ++

>  4 files changed, 8 insertions(+)

> 

> diff --git

> a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc

> b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc

> index 48018abc69..7d85b78642 100644

> --- a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc

> +++ b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc

> @@ -49,6 +49,8 @@ [LibraryClasses.common]

> 

> DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErro

> rLevelLib/BaseDebugPrintErrorLevelLib.inf

> 

>    BaseLib|MdePkg/Library/BaseLib/BaseLib.inf

> +

> BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base

> BmpSupportLib.inf

> +

> SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i

> nf

> 

> SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/

> BaseSynchronizationLib.inf

> 

> PerformanceLib|MdePkg/Library/BasePerformanceLibNull/Base

> PerformanceLibNull.inf

>    PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf

> diff --git

> a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc

> b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc

> index 7e69eaba9b..3c109b495f 100644

> --- a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc

> +++ b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc

> @@ -75,6 +75,8 @@ [LibraryClasses.common]

> 

> ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerP

> hyCounterLib/ArmGenericTimerPhyCounterLib.inf

> 

>    BaseLib|MdePkg/Library/BaseLib/BaseLib.inf

> +

> BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base

> BmpSupportLib.inf

> +

> SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i

> nf

> 

> SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/

> BaseSynchronizationLib.inf

> 

> PerformanceLib|MdePkg/Library/BasePerformanceLibNull/Base

> PerformanceLibNull.inf

>    PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf

> diff --git

> a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoar

> d.dsc

> b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoar

> d.dsc

> index e35c17f0bc..45ab2afc40 100644

> ---

> a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoar

> d.dsc

> +++

> b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoar

> d.dsc

> @@ -75,6 +75,8 @@ [LibraryClasses.common]

> 

> ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerP

> hyCounterLib/ArmGenericTimerPhyCounterLib.inf

> 

>    BaseLib|MdePkg/Library/BaseLib/BaseLib.inf

> +

> BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base

> BmpSupportLib.inf

> +

> SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i

> nf

> 

> SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/

> BaseSynchronizationLib.inf

> 

> PerformanceLib|MdePkg/Library/BasePerformanceLibNull/Base

> PerformanceLibNull.inf

>    PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf

> diff --git a/Silicon/Hisilicon/Hisilicon.dsc.inc

> b/Silicon/Hisilicon/Hisilicon.dsc.inc

> index 57668294cb..1d6d20ca1d 100644

> --- a/Silicon/Hisilicon/Hisilicon.dsc.inc

> +++ b/Silicon/Hisilicon/Hisilicon.dsc.inc

> @@ -22,6 +22,8 @@ [LibraryClasses.common]

> 

> DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErro

> rLevelLib/BaseDebugPrintErrorLevelLib.inf

> 

>    BaseLib|MdePkg/Library/BaseLib/BaseLib.inf

> +

> BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base

> BmpSupportLib.inf

> +

> SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i

> nf

> 

> SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/

> BaseSynchronizationLib.inf

> 

> PerformanceLib|MdePkg/Library/BasePerformanceLibNull/Base

> PerformanceLibNull.inf

>    PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf

> --

> 2.11.0


_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Kinney, Michael D Feb. 14, 2018, 9:11 p.m. UTC | #2
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>


Mike

> -----Original Message-----

> From: Leif Lindholm [mailto:leif.lindholm@linaro.org]

> Sent: Tuesday, February 13, 2018 8:46 AM

> To: edk2-devel@lists.01.org

> Cc: ard.biesheuvel@linaro.org; Kinney, Michael D

> <michael.d.kinney@intel.com>

> Subject: [PATCH edk2-platforms] AMD, Hisilicon,

> Socionext: fix build after DxeCapsuleLibFmp changes

> 

> edk2 commit 1ec2e7d0e8db

> ("MdeModulePkg/DxeCapsuleLibFmp: Use BmpSupportLib")

> broke the build of

> all platforms that include DxeCapsuleLibFmp, since none

> of them included

> a BmpSupportLib (added as part of the same series).

> 

> BmpSupportLib itself depends on SafeIntLib, so add the

> two libraries to

> all affected platforms.

> 

> Contributed-under: TianoCore Contribution Agreement 1.1

> Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>

> ---

>  Platform/AMD/OverdriveBoard/OverdriveBoard.dsc

> | 2 ++

>  Platform/Socionext/DeveloperBox/DeveloperBox.dsc

> | 2 ++

> 

> Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.

> dsc | 2 ++

>  Silicon/Hisilicon/Hisilicon.dsc.inc

> | 2 ++

>  4 files changed, 8 insertions(+)

> 

> diff --git

> a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc

> b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc

> index 48018abc69..7d85b78642 100644

> --- a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc

> +++ b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc

> @@ -49,6 +49,8 @@ [LibraryClasses.common]

> 

> DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErro

> rLevelLib/BaseDebugPrintErrorLevelLib.inf

> 

>    BaseLib|MdePkg/Library/BaseLib/BaseLib.inf

> +

> BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base

> BmpSupportLib.inf

> +

> SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i

> nf

> 

> SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/

> BaseSynchronizationLib.inf

> 

> PerformanceLib|MdePkg/Library/BasePerformanceLibNull/Base

> PerformanceLibNull.inf

>    PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf

> diff --git

> a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc

> b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc

> index 7e69eaba9b..3c109b495f 100644

> --- a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc

> +++ b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc

> @@ -75,6 +75,8 @@ [LibraryClasses.common]

> 

> ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerP

> hyCounterLib/ArmGenericTimerPhyCounterLib.inf

> 

>    BaseLib|MdePkg/Library/BaseLib/BaseLib.inf

> +

> BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base

> BmpSupportLib.inf

> +

> SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i

> nf

> 

> SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/

> BaseSynchronizationLib.inf

> 

> PerformanceLib|MdePkg/Library/BasePerformanceLibNull/Base

> PerformanceLibNull.inf

>    PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf

> diff --git

> a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoar

> d.dsc

> b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoar

> d.dsc

> index e35c17f0bc..45ab2afc40 100644

> ---

> a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoar

> d.dsc

> +++

> b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoar

> d.dsc

> @@ -75,6 +75,8 @@ [LibraryClasses.common]

> 

> ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerP

> hyCounterLib/ArmGenericTimerPhyCounterLib.inf

> 

>    BaseLib|MdePkg/Library/BaseLib/BaseLib.inf

> +

> BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base

> BmpSupportLib.inf

> +

> SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i

> nf

> 

> SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/

> BaseSynchronizationLib.inf

> 

> PerformanceLib|MdePkg/Library/BasePerformanceLibNull/Base

> PerformanceLibNull.inf

>    PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf

> diff --git a/Silicon/Hisilicon/Hisilicon.dsc.inc

> b/Silicon/Hisilicon/Hisilicon.dsc.inc

> index 57668294cb..1d6d20ca1d 100644

> --- a/Silicon/Hisilicon/Hisilicon.dsc.inc

> +++ b/Silicon/Hisilicon/Hisilicon.dsc.inc

> @@ -22,6 +22,8 @@ [LibraryClasses.common]

> 

> DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErro

> rLevelLib/BaseDebugPrintErrorLevelLib.inf

> 

>    BaseLib|MdePkg/Library/BaseLib/BaseLib.inf

> +

> BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base

> BmpSupportLib.inf

> +

> SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i

> nf

> 

> SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/

> BaseSynchronizationLib.inf

> 

> PerformanceLib|MdePkg/Library/BasePerformanceLibNull/Base

> PerformanceLibNull.inf

>    PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf

> --

> 2.11.0


_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Leif Lindholm Feb. 15, 2018, 4:32 p.m. UTC | #3
On Wed, Feb 14, 2018 at 09:11:59PM +0000, Kinney, Michael D wrote:
> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>


Thanks - pushed as ce6c2604be.

Regards,

Leif

> Mike

> 

> > -----Original Message-----

> > From: Leif Lindholm [mailto:leif.lindholm@linaro.org]

> > Sent: Tuesday, February 13, 2018 8:46 AM

> > To: edk2-devel@lists.01.org

> > Cc: ard.biesheuvel@linaro.org; Kinney, Michael D

> > <michael.d.kinney@intel.com>

> > Subject: [PATCH edk2-platforms] AMD, Hisilicon,

> > Socionext: fix build after DxeCapsuleLibFmp changes

> > 

> > edk2 commit 1ec2e7d0e8db

> > ("MdeModulePkg/DxeCapsuleLibFmp: Use BmpSupportLib")

> > broke the build of

> > all platforms that include DxeCapsuleLibFmp, since none

> > of them included

> > a BmpSupportLib (added as part of the same series).

> > 

> > BmpSupportLib itself depends on SafeIntLib, so add the

> > two libraries to

> > all affected platforms.

> > 

> > Contributed-under: TianoCore Contribution Agreement 1.1

> > Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>

> > ---

> >  Platform/AMD/OverdriveBoard/OverdriveBoard.dsc

> > | 2 ++

> >  Platform/Socionext/DeveloperBox/DeveloperBox.dsc

> > | 2 ++

> > 

> > Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.

> > dsc | 2 ++

> >  Silicon/Hisilicon/Hisilicon.dsc.inc

> > | 2 ++

> >  4 files changed, 8 insertions(+)

> > 

> > diff --git

> > a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc

> > b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc

> > index 48018abc69..7d85b78642 100644

> > --- a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc

> > +++ b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc

> > @@ -49,6 +49,8 @@ [LibraryClasses.common]

> > 

> > DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErro

> > rLevelLib/BaseDebugPrintErrorLevelLib.inf

> > 

> >    BaseLib|MdePkg/Library/BaseLib/BaseLib.inf

> > +

> > BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base

> > BmpSupportLib.inf

> > +

> > SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i

> > nf

> > 

> > SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/

> > BaseSynchronizationLib.inf

> > 

> > PerformanceLib|MdePkg/Library/BasePerformanceLibNull/Base

> > PerformanceLibNull.inf

> >    PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf

> > diff --git

> > a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc

> > b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc

> > index 7e69eaba9b..3c109b495f 100644

> > --- a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc

> > +++ b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc

> > @@ -75,6 +75,8 @@ [LibraryClasses.common]

> > 

> > ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerP

> > hyCounterLib/ArmGenericTimerPhyCounterLib.inf

> > 

> >    BaseLib|MdePkg/Library/BaseLib/BaseLib.inf

> > +

> > BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base

> > BmpSupportLib.inf

> > +

> > SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i

> > nf

> > 

> > SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/

> > BaseSynchronizationLib.inf

> > 

> > PerformanceLib|MdePkg/Library/BasePerformanceLibNull/Base

> > PerformanceLibNull.inf

> >    PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf

> > diff --git

> > a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoar

> > d.dsc

> > b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoar

> > d.dsc

> > index e35c17f0bc..45ab2afc40 100644

> > ---

> > a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoar

> > d.dsc

> > +++

> > b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoar

> > d.dsc

> > @@ -75,6 +75,8 @@ [LibraryClasses.common]

> > 

> > ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerP

> > hyCounterLib/ArmGenericTimerPhyCounterLib.inf

> > 

> >    BaseLib|MdePkg/Library/BaseLib/BaseLib.inf

> > +

> > BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base

> > BmpSupportLib.inf

> > +

> > SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i

> > nf

> > 

> > SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/

> > BaseSynchronizationLib.inf

> > 

> > PerformanceLib|MdePkg/Library/BasePerformanceLibNull/Base

> > PerformanceLibNull.inf

> >    PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf

> > diff --git a/Silicon/Hisilicon/Hisilicon.dsc.inc

> > b/Silicon/Hisilicon/Hisilicon.dsc.inc

> > index 57668294cb..1d6d20ca1d 100644

> > --- a/Silicon/Hisilicon/Hisilicon.dsc.inc

> > +++ b/Silicon/Hisilicon/Hisilicon.dsc.inc

> > @@ -22,6 +22,8 @@ [LibraryClasses.common]

> > 

> > DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErro

> > rLevelLib/BaseDebugPrintErrorLevelLib.inf

> > 

> >    BaseLib|MdePkg/Library/BaseLib/BaseLib.inf

> > +

> > BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/Base

> > BmpSupportLib.inf

> > +

> > SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.i

> > nf

> > 

> > SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/

> > BaseSynchronizationLib.inf

> > 

> > PerformanceLib|MdePkg/Library/BasePerformanceLibNull/Base

> > PerformanceLibNull.inf

> >    PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf

> > --

> > 2.11.0

> 

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
diff mbox series

Patch

diff --git a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc
index 48018abc69..7d85b78642 100644
--- a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc
+++ b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc
@@ -49,6 +49,8 @@  [LibraryClasses.common]
   DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
 
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
+  BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
+  SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
   SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
   PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
diff --git a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc
index 7e69eaba9b..3c109b495f 100644
--- a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc
+++ b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc
@@ -75,6 +75,8 @@  [LibraryClasses.common]
   ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf
 
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
+  BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
+  SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
   SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
   PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
diff --git a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc
index e35c17f0bc..45ab2afc40 100644
--- a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc
+++ b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc
@@ -75,6 +75,8 @@  [LibraryClasses.common]
   ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf
 
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
+  BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
+  SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
   SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
   PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
diff --git a/Silicon/Hisilicon/Hisilicon.dsc.inc b/Silicon/Hisilicon/Hisilicon.dsc.inc
index 57668294cb..1d6d20ca1d 100644
--- a/Silicon/Hisilicon/Hisilicon.dsc.inc
+++ b/Silicon/Hisilicon/Hisilicon.dsc.inc
@@ -22,6 +22,8 @@  [LibraryClasses.common]
   DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
 
   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
+  BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
+  SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
   SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
   PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf