From: Saul Wold <sgw@linux.intel.com>
To: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] layer.conf: allow other layers to depend on this version
Date: Thu, 27 Sep 2012 08:46:44 -0700 [thread overview]
Message-ID: <506474E4.6000605@linux.intel.com> (raw)
In-Reply-To: <1348585112-2458-1-git-send-email-paul.eggleton@linux.intel.com>
On 09/25/2012 07:58 AM, Paul Eggleton wrote:
> Set LAYERVERSION and rename the collection to "core". Given changes such
> as the tabs to spaces cleanup for python functions in the current
> version, this allows other layers to depend on this version of OE-Core
> specifically should they choose to do so, by specifying the following
> in their own layer.conf:
>
> LAYERDEPENDS_layername = "core:1"
>
> Where layername is whatever value is being added to BBFILE_COLLECTIONS.
>
> (This change does nothing unless a layer has LAYERDEPENDS set.)
>
> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
> ---
> meta/conf/layer.conf | 10 +++++++---
> 1 file changed, 7 insertions(+), 3 deletions(-)
>
> diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
> index ed50f1c..78ceae9 100644
> --- a/meta/conf/layer.conf
> +++ b/meta/conf/layer.conf
> @@ -3,9 +3,13 @@ BBPATH .= ":${LAYERDIR}"
> # We have a packages directory, add to BBFILES
> BBFILES += "${LAYERDIR}/recipes-*/*/*.bb"
>
> -BBFILE_COLLECTIONS += "normal"
> -BBFILE_PATTERN_normal := "^${LAYERDIR}/"
> -BBFILE_PRIORITY_normal = "5"
> +BBFILE_COLLECTIONS += "core"
> +BBFILE_PATTERN_core := "^${LAYERDIR}/"
> +BBFILE_PRIORITY_core = "5"
> +
> +# This should only be incremented on significant changes that will
> +# cause compatibility issues with other layers
> +LAYERVERSION_core = "1"
>
> # Set a variable to get to the top of the metadata location
> COREBASE := '${@os.path.normpath("${LAYERDIR}/../")}'
>
Merged into OE-Core
Thanks
Sau!
prev parent reply other threads:[~2012-09-27 15:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-25 14:58 [PATCH] layer.conf: allow other layers to depend on this version Paul Eggleton
2012-09-27 15:46 ` Saul Wold [this message]
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=506474E4.6000605@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=paul.eggleton@linux.intel.com \
/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