summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-02-20 17:44:06 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-21 22:04:26 +0000
commitd1cf0edd79ec3ba3bd17126183e4cb99aa50ffaf (patch)
treeda5edf9cd2e2f0b2ccdcdc1cb49620a1cb6da300 /meta
parentae585a7d2744222606aeb533815d22ade8e10097 (diff)
downloadopenembedded-core-d1cf0edd79ec3ba3bd17126183e4cb99aa50ffaf.tar.gz
openembedded-core-d1cf0edd79ec3ba3bd17126183e4cb99aa50ffaf.tar.bz2
openembedded-core-d1cf0edd79ec3ba3bd17126183e4cb99aa50ffaf.zip
layer.conf: set a variable to map to the OE Layer Index name
Add a variable that allows us to map the OE-Core layer to the name that represents it in the OpenEmbedded layer index. This will be used by bitbake-layers layerindex-fetch so that it knows that for example OE-Core is already fetched and included in the current configuration. Note - it won't be required for us to go around and set this for every layer - we can do the matching based on repo and subdirectory, but OE-Core is somewhat special in that it does sometimes appear in different places, for example in poky. [YOCTO #5348] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/layer.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
index 4fd3a16cec..e5e1f06a54 100644
--- a/meta/conf/layer.conf
+++ b/meta/conf/layer.conf
@@ -11,6 +11,8 @@ BBFILE_PRIORITY_core = "5"
# cause compatibility issues with other layers
LAYERVERSION_core = "4"
+BBLAYERS_LAYERINDEX_NAME_core = "openembedded-core"
+
# Set a variable to get to the top of the metadata location
COREBASE = '${@os.path.normpath("${LAYERDIR}/../")}'