summaryrefslogtreecommitdiffstats
path: root/meta/lib/bblayers/templates
diff options
context:
space:
mode:
authorCharlie Davies <charles.davies@whitetree.xyz>2021-02-15 20:07:44 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-03-06 22:39:04 +0000
commit27d0fcddd12e78e7b3b528318a2a6090535cf550 (patch)
tree658b75da8951e4c81c64e795205b57a1e4972f39 /meta/lib/bblayers/templates
parentb7d1f361ff8618322d21c265c14e8d2afdea7e1f (diff)
downloadpoky-27d0fcddd12e78e7b3b528318a2a6090535cf550.tar.gz
bitbake-bblayers/create: Add optional layerid argument
This commit adds an optional layerid argument which can be passed to the bitbake-layers create-layer command. This allows for creation of a layer with a layer id different to that of the layer's name. The default behaviour of the command where the layer's id is set to the layer's name is still retained. (From OE-Core rev: 8f896bd9b34f19535838757c8f3049bae438e4fe) Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/bblayers/templates')
-rw-r--r--meta/lib/bblayers/templates/layer.conf10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/lib/bblayers/templates/layer.conf b/meta/lib/bblayers/templates/layer.conf
index e2eaff4346..dddfbf716e 100644
--- a/meta/lib/bblayers/templates/layer.conf
+++ b/meta/lib/bblayers/templates/layer.conf
@@ -5,9 +5,9 @@ BBPATH .= ":${{LAYERDIR}}"
5BBFILES += "${{LAYERDIR}}/recipes-*/*/*.bb \ 5BBFILES += "${{LAYERDIR}}/recipes-*/*/*.bb \
6 ${{LAYERDIR}}/recipes-*/*/*.bbappend" 6 ${{LAYERDIR}}/recipes-*/*/*.bbappend"
7 7
8BBFILE_COLLECTIONS += "{layername}" 8BBFILE_COLLECTIONS += "{layerid}"
9BBFILE_PATTERN_{layername} = "^${{LAYERDIR}}/" 9BBFILE_PATTERN_{layerid} = "^${{LAYERDIR}}/"
10BBFILE_PRIORITY_{layername} = "{priority}" 10BBFILE_PRIORITY_{layerid} = "{priority}"
11 11
12LAYERDEPENDS_{layername} = "core" 12LAYERDEPENDS_{layerid} = "core"
13LAYERSERIES_COMPAT_{layername} = "{compat}" 13LAYERSERIES_COMPAT_{layerid} = "{compat}"