summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-09-25 15:58:32 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-26 15:02:28 +0100
commit65d2b3af3758c4b74d66abcfa1fb380c0ca17ea1 (patch)
tree217df7a07c27b0f0f10e55faedb81d929d9cadb2 /meta/conf
parent4f68dd9303fdb3a8c0c1f0e79a37b4d1f3ca3717 (diff)
downloadpoky-65d2b3af3758c4b74d66abcfa1fb380c0ca17ea1.tar.gz
layer.conf: allow other layers to depend on this version
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.) (From OE-Core rev: 7069c7ef829f56ae6dd0dab5e583342f351274ed) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/layer.conf10
1 files changed, 7 insertions, 3 deletions
diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
index ed50f1c509..78ceae9db6 100644
--- a/meta/conf/layer.conf
+++ b/meta/conf/layer.conf
@@ -3,9 +3,13 @@ BBPATH .= ":${LAYERDIR}"
3# We have a packages directory, add to BBFILES 3# We have a packages directory, add to BBFILES
4BBFILES += "${LAYERDIR}/recipes-*/*/*.bb" 4BBFILES += "${LAYERDIR}/recipes-*/*/*.bb"
5 5
6BBFILE_COLLECTIONS += "normal" 6BBFILE_COLLECTIONS += "core"
7BBFILE_PATTERN_normal := "^${LAYERDIR}/" 7BBFILE_PATTERN_core := "^${LAYERDIR}/"
8BBFILE_PRIORITY_normal = "5" 8BBFILE_PRIORITY_core = "5"
9
10# This should only be incremented on significant changes that will
11# cause compatibility issues with other layers
12LAYERVERSION_core = "1"
9 13
10# Set a variable to get to the top of the metadata location 14# Set a variable to get to the top of the metadata location
11COREBASE := '${@os.path.normpath("${LAYERDIR}/../")}' 15COREBASE := '${@os.path.normpath("${LAYERDIR}/../")}'