diff mbox series

[edk2,edk2-platforms] :resolving Hikey platform build error

Message ID 20171115112710.20252-1-kalyankumar.nagabhirava@linaro.org
State New
Headers show
Series [edk2,edk2-platforms] :resolving Hikey platform build error | expand

Commit Message

kalyan-nagabhirava Nov. 15, 2017, 11:27 a.m. UTC
"Instance of library class [CapsuleLib] is not found" build error is
 coming for Hikey platform, to resolve this issueadded CapsuleLib to
 "LibraryClasses.common" section

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: kalyan-nagabhirava <kalyankumar.nagabhirava@linaro.org>

---
 Platform/Hisilicon/HiKey/HiKey.dsc | 1 +
 1 file changed, 1 insertion(+)

-- 
2.15.0

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

Comments

Ard Biesheuvel Nov. 15, 2017, 11:34 a.m. UTC | #1
On 15 November 2017 at 11:27, kalyan-nagabhirava
<kalyankumar.nagabhirava@linaro.org> wrote:
> "Instance of library class [CapsuleLib] is not found" build error is

>  coming for Hikey platform, to resolve this issueadded CapsuleLib to

>  "LibraryClasses.common" section

>

> Contributed-under: TianoCore Contribution Agreement 1.1

> Signed-off-by: kalyan-nagabhirava <kalyankumar.nagabhirava@linaro.org>


Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>


Pushed as bf109f8b87077a8f8215c9f0af8c9639d50cc64c

Thanks.

> ---

>  Platform/Hisilicon/HiKey/HiKey.dsc | 1 +

>  1 file changed, 1 insertion(+)

>

> diff --git a/Platform/Hisilicon/HiKey/HiKey.dsc b/Platform/Hisilicon/HiKey/HiKey.dsc

> index 968e8acc0..2e3b1c879 100644

> --- a/Platform/Hisilicon/HiKey/HiKey.dsc

> +++ b/Platform/Hisilicon/HiKey/HiKey.dsc

> @@ -61,6 +61,7 @@

>    SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf

>

>    FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf

> +  CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf

>    UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf

>    PlatformBootManagerLib|ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf

>    BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf

> --

> 2.15.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/Hisilicon/HiKey/HiKey.dsc b/Platform/Hisilicon/HiKey/HiKey.dsc
index 968e8acc0..2e3b1c879 100644
--- a/Platform/Hisilicon/HiKey/HiKey.dsc
+++ b/Platform/Hisilicon/HiKey/HiKey.dsc
@@ -61,6 +61,7 @@ 
   SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
 
   FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
+  CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
   UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
   PlatformBootManagerLib|ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
   BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf