public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Leif Lindholm <leif.lindholm@linaro.org>
To: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Laszlo Ersek <lersek@redhat.com>,
	"edk2-devel@lists.01.org" <edk2-devel@ml01.01.org>
Subject: Re: [PATCH 1/2] EmbeddedPkg: make PrePiMemoryAllocationLib a SEC type library
Date: Wed, 3 Aug 2016 14:07:38 +0100	[thread overview]
Message-ID: <20160803130738.GX31760@bivouac.eciton.net> (raw)
In-Reply-To: <CAKv+Gu-eCE7bzyLroutwPAChWxMgjasXM-ks97iEeOxrWYrK=A@mail.gmail.com>

On Wed, Aug 03, 2016 at 02:50:59PM +0200, Ard Biesheuvel wrote:
> On 3 August 2016 at 13:21, Laszlo Ersek <lersek@redhat.com> wrote:
> > On 08/03/16 12:00, Ard Biesheuvel wrote:
> >> On 3 August 2016 at 11:56, Laszlo Ersek <lersek@redhat.com> wrote:
> >>> On 08/03/16 10:21, Ard Biesheuvel wrote:
> >>>> This library is only used by the various PrePi implementations, all of
> >>>> which are of type SEC.
> >>>
> >>> You can actually enforce that client module type restriction, by setting
> >>>
> >>>     LIBRARY_CLASS                  = MemoryAllocationLib|SEC
> >>>
> >>> Can you try that, in addition to the MODULE_TYPE change?
> >>>
> >>> Just an idea, of course.
> >>>
> >>
> >> That is a valid point, but it is kind of orthogonal to the issue I am
> >> trying to solve.
> >>
> >> In patch #2, I override the CC flags for SEC and BASE type modules,
> >> but this static library gets build with the PEIM rules in effect, so I
> >> don't really mind if anyone uses this module elsewhere. I could
> >> perhaps simply change the type to BASE as well.
> >
> > Hm, after your explanation, I think your current patch is good.
> >
> > Reviewed-by: Laszlo Ersek <lersek@redhat.com>
> 
> Thanks.
> 
> @Leif: any objections? I'd like to merge this right away, my Jenkins
> job is broken atm due to this.

No objection. We can always change it to BASE in future if that would
appear to make sense.

(for the series)
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>

Regards,

Leif


  reply	other threads:[~2016-08-03 13:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-03  8:21 [PATCH 0/2] ArmVirtPkg EmbeddedPkg: fix build for CLANG35/ARM Ard Biesheuvel
2016-08-03  8:21 ` [PATCH 1/2] EmbeddedPkg: make PrePiMemoryAllocationLib a SEC type library Ard Biesheuvel
2016-08-03  9:56   ` Laszlo Ersek
2016-08-03 10:00     ` Ard Biesheuvel
2016-08-03 11:21       ` Laszlo Ersek
2016-08-03 12:50         ` Ard Biesheuvel
2016-08-03 13:07           ` Leif Lindholm [this message]
2016-08-03  8:21 ` [PATCH 2/2] ArmVirtPkg ARM: make relocatable PrePi users build with CLANG35 Ard Biesheuvel
2016-08-03 10:00   ` Laszlo Ersek
2016-08-03 10:02     ` Ard Biesheuvel
2016-08-03 11:19       ` Laszlo Ersek
2016-08-03 12:51         ` Ard Biesheuvel
2016-08-03 13:46 ` [PATCH 0/2] ArmVirtPkg EmbeddedPkg: fix build for CLANG35/ARM Ard Biesheuvel

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=20160803130738.GX31760@bivouac.eciton.net \
    --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