All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Joshua Watt" <JPEWhacker@gmail.com>
To: meta-arm@lists.yoctoproject.org
Subject: Sharing TF-A with multiple BSP
Date: Mon, 11 May 2020 09:47:49 -0500	[thread overview]
Message-ID: <2fb20adc-6d54-fefc-dfe7-007ee02fc01d@gmail.com> (raw)

Continuing the outcome from a discussion that was on the OE-core mailing 
list, I've started converting some of the BSP layers I work on to use 
the trusted-firmware-a recipe from meta-arm as the canonical source of 
ATF instead of each of the implementing their own recipe. So far this 
has gone well except for one annoyance I've found: meta-arm has a layer 
dependency on meta-python, specifically for the optee recipe. Normally, 
this wouldn't be such a big deal, but in a ideal world there will now be 
a lot of BSP layers that depend on meta-arm to provide ATF, and it seems 
annoying to have to make all of those layers (transitively) depend on 
meta-python.

I can think of a few possible options:

1) Do nothing because no one other than me thinks this is a problem :)

2) Use BBFILES_DYNAMIC to make optee optional based on the presence of 
meta-python

3) Use PACKAGECONFIG to remove the python parts of optee (if that's even 
possible). They can be automatically added back if meta-python is 
present via BBFILES_DYNAMIC.

4) Remove the hard requirement of meta-python from meta-arm; it's only 
needed to build optee so the users can figure it out?


Anyone else have any ideas or thoughts?

Thanks,
Joshua Watt


             reply	other threads:[~2020-05-11 14:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-11 14:47 Joshua Watt [this message]
2020-05-11 17:37 ` [meta-arm] Sharing TF-A with multiple BSP Denys Dmytriyenko
     [not found] ` <160E09F2270E9334.31760@lists.yoctoproject.org>
2020-05-11 17:48   ` Denys Dmytriyenko
2020-05-11 18:00     ` Khem Raj
2020-05-11 20:42       ` Joshua Watt

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=2fb20adc-6d54-fefc-dfe7-007ee02fc01d@gmail.com \
    --to=jpewhacker@gmail.com \
    --cc=meta-arm@lists.yoctoproject.org \
    /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.