All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jose Quaresma <quaresma.jose@gmail.com>
To: Mikko Rapeli <mikko.rapeli@linaro.org>
Cc: meta-arm@lists.yoctoproject.org, ricardo@foundries.io,
	 Jose Quaresma <jose.quaresma@foundries.io>
Subject: Re: [meta-arm][PATCH 2/3] optee-ftpm/optee-os: rewite in a way to be less error prone
Date: Thu, 27 Oct 2022 10:01:19 +0100	[thread overview]
Message-ID: <CANPvuRkuiHPKJDCw_Z0qipDS5DTiuMeSc4mqURg4-tKnyasorQ@mail.gmail.com> (raw)
In-Reply-To: <Y1oi/4RvTqTeRVFJ@nuoska>

[-- Attachment #1: Type: text/plain, Size: 2143 bytes --]

Hi

Mikko Rapeli <mikko.rapeli@linaro.org> escreveu no dia quinta, 27/10/2022
à(s) 07:19:

> Hi,
>
> On Wed, Oct 26, 2022 at 02:18:53PM +0000, Jose Quaresma wrote:
> > So it becomes clearer the need to use the space in the append
> >
> > Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
> > ---
> >  .../optee-ftpm/optee-os_%.bbappend               | 16 ++++------------
> >  1 file changed, 4 insertions(+), 12 deletions(-)
> >
> > diff --git a/meta-arm/recipes-security/optee-ftpm/optee-os_%.bbappend
> b/meta-arm/recipes-security/optee-ftpm/optee-os_%.bbappend
> > index 40423615..332c7c1c 100644
> > --- a/meta-arm/recipes-security/optee-ftpm/optee-os_%.bbappend
> > +++ b/meta-arm/recipes-security/optee-ftpm/optee-os_%.bbappend
> > @@ -1,15 +1,7 @@
> >  FTPM_UUID="bc50d971-d4c9-42c4-82cb-343fb7f37896"
> >
> > -DEPENDS:append = "\
> > -                  ${@bb.utils.contains('MACHINE_FEATURES', \
> > -                 'optee-ftpm', \
> > -                 'optee-ftpm', \
> > -                 '' , \
> > -                 d)}"
> > +DEPENDS:append = "${@bb.utils.contains('MACHINE_FEATURES',
> 'optee-ftpm', \
>
> Same here, don't use :append, use += which will add the space too.
>
> > +                 ' optee-ftpm', '' , d)}"
>

Here the space is only added if needed and together with the value.


> >
> > -EXTRA_OEMAKE:append = "\
> > -                       ${@bb.utils.contains('MACHINE_FEATURES', \
> > -                      'optee-ftpm', \
> > -                      'CFG_EARLY_TA=y
> EARLY_TA_PATHS="${STAGING_DIR_TARGET}/lib/optee_armtz/${FTPM_UUID}.stripped.elf"',
> \
> > -                      '', \
> > -                      d)} "
> > +EXTRA_OEMAKE:append = "${@bb.utils.contains('MACHINE_FEATURES',
> 'optee-ftpm', \
>
> Ditto.
>

+EXTRA_OEMAKE:append = "${@bb.utils.contains('MACHINE_FEATURES',
'optee-ftpm', \
+                      ' CFG_EARLY_TA=y EARLY_TA_PATHS="${STAGING_DIR_
TARGET}/lib/optee_armtz/${FTPM_UUID}.stripped.elf"', '', d)} "

The same here

Jose


>
> Cheers,
>
> -Mikko
>


-- 
Best regards,

José Quaresma

[-- Attachment #2: Type: text/html, Size: 3671 bytes --]

  reply	other threads:[~2022-10-27  9:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-26 14:18 [meta-arm][PATCH 1/3] optee-ftpm/optee-os: add missing space in EXTRA_OEMAKE Jose Quaresma
2022-10-26 14:18 ` [meta-arm][PATCH 2/3] optee-ftpm/optee-os: rewite in a way to be less error prone Jose Quaresma
2022-10-27  6:19   ` Mikko Rapeli
2022-10-27  9:01     ` Jose Quaresma [this message]
2022-10-27 14:03   ` Jon Mason
2022-10-27 14:26     ` Jose Quaresma
2022-10-26 14:18 ` [meta-arm][PATCH 3/3] optee-os-ts: avoid using escape chars in EXTRA_OEMAKE Jose Quaresma
2022-10-27  6:20   ` Mikko Rapeli
2022-10-27 14:06     ` Jon Mason
2022-10-27  6:18 ` [meta-arm][PATCH 1/3] optee-ftpm/optee-os: add missing space " Mikko Rapeli
2022-10-27  8:57   ` Jose Quaresma
2022-10-27 21:38 ` [PATCH " Jon Mason

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-all 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=CANPvuRkuiHPKJDCw_Z0qipDS5DTiuMeSc4mqURg4-tKnyasorQ@mail.gmail.com \
    --to=quaresma.jose@gmail.com \
    --cc=jose.quaresma@foundries.io \
    --cc=meta-arm@lists.yoctoproject.org \
    --cc=mikko.rapeli@linaro.org \
    --cc=ricardo@foundries.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.