public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Laszlo Ersek" <lersek@redhat.com>
To: devel@edk2.groups.io, leif@nuviainc.com
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>,
	Nhi Pham <nhi@os.amperecomputing.com>
Subject: Re: [edk2-devel] [PATCH 1/1] EmbeddedPkg: add TimeBaseLib resolution to EmbeddedPkg.dsc
Date: Thu, 7 Jan 2021 21:25:17 +0100	[thread overview]
Message-ID: <ce981e97-d1d0-9d6c-a5e4-cadf84a71c8a@redhat.com> (raw)
In-Reply-To: <20210107194158.11539-1-leif@nuviainc.com>

On 01/07/21 20:41, Leif Lindholm wrote:
> Commit 55ee36b0c490
> ("EmbeddedPkg/RealTimeClockRuntimeDxe: Use helper functions from TimeBaseLib")
> added a TimeBaseLib dependency to RealTimeClockRuntimeDxe, which now breaks
> build of EmbeddedPkg.dsc.
> 
> Add a resolution for EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf.
> 
> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
> Cc: Nhi Pham <nhi@os.amperecomputing.com>
> Signed-off-by: Leif Lindholm <leif@nuviainc.com>
> ---
>  EmbeddedPkg/EmbeddedPkg.dsc | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/EmbeddedPkg/EmbeddedPkg.dsc b/EmbeddedPkg/EmbeddedPkg.dsc
> index e88d76ab2f04..8e83e50c3ef0 100644
> --- a/EmbeddedPkg/EmbeddedPkg.dsc
> +++ b/EmbeddedPkg/EmbeddedPkg.dsc
> @@ -103,6 +103,8 @@ [LibraryClasses.common]
>    DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
>    DtPlatformDtbLoaderLib|EmbeddedPkg/Library/DxeDtPlatformDtbLoaderLibDefault/DxeDtPlatformDtbLoaderLibDefault.inf
>  
> +  TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
> +
>  [LibraryClasses.common.DXE_DRIVER]
>    PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
>    ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
> 

Reviewed-by: Laszlo Ersek <lersek@redhat.com>

A similar patch is needed for "OvmfPkg/OvmfXen.dsc" please:

OvmfPkg/OvmfXen.dsc(...): error 4000: Instance of library class [TimeBaseLib] is not found
        in [EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf] [X64]
        consumed by module [EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf]

Thanks,
Laszlo


  reply	other threads:[~2021-01-07 20:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-07 19:41 [PATCH 1/1] EmbeddedPkg: add TimeBaseLib resolution to EmbeddedPkg.dsc Leif Lindholm
2021-01-07 20:25 ` Laszlo Ersek [this message]
2021-01-08  9:13   ` [edk2-devel] " Ard Biesheuvel
2021-01-08 14:24     ` Leif Lindholm
2021-01-08 14:15   ` Leif Lindholm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ce981e97-d1d0-9d6c-a5e4-cadf84a71c8a@redhat.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox