All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philip Balister <philip@balister.org>
To: Yocto Project <yocto@yoctoproject.org>
Subject: Making recipes depend on specific layers
Date: Fri, 05 Oct 2012 09:58:35 -0400	[thread overview]
Message-ID: <506EE78B.6060607@balister.org> (raw)

I run into problems (typically with BSP layers) where I want the layer 
to build only against oe-core, but I also would like to have recipes 
that depend on other layers. Typically, a "complex" image that uses 
packages built from other layers.

Now, I could just make a shim layer that contains the recipes that 
depends on a larger set of layers, but this gets annoying.

What I'd like to do is provide a way for recipes to say they depend on 
other layers, but if that layer is not present, parsing should not fail. 
Obviously, attempting to build such a recipe would fail (with a suitable 
error message).

Richard showed me some Python I can use to do this, but I'd like to know 
if this seems useful to other people.

Obviously, switching layer sin and out can lead to madness, but I'd 
rather not try to protect the end user from every stupid thing they can 
do at the expense of making thing more complex from a shear number of 
layers view.

Philip


             reply	other threads:[~2012-10-05 13:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-05 13:58 Philip Balister [this message]
2012-10-05 14:48 ` Making recipes depend on specific layers Tomas Frydrych

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=506EE78B.6060607@balister.org \
    --to=philip@balister.org \
    --cc=yocto@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.