]> code.ossystems Code Review - openembedded-core.git/commitdiff
layer.conf: set a variable to map to the OE Layer Index name
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 20 Feb 2015 17:44:06 +0000 (17:44 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 21 Feb 2015 22:04:26 +0000 (22:04 +0000)
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>
meta/conf/layer.conf

index 4fd3a16cec5a58adfcb16ba1dc866924931b5d68..e5e1f06a54f82f7af604ed3aa2ae1a090d2a8ca0 100644 (file)
@@ -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}/../")}'