diff options
author | Charlie Davies <charles.davies@whitetree.xyz> | 2021-02-15 20:07:44 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-06 22:39:04 +0000 |
commit | 27d0fcddd12e78e7b3b528318a2a6090535cf550 (patch) | |
tree | 658b75da8951e4c81c64e795205b57a1e4972f39 /meta/lib/bblayers/templates | |
parent | b7d1f361ff8618322d21c265c14e8d2afdea7e1f (diff) | |
download | poky-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.conf | 10 |
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}}" | |||
5 | BBFILES += "${{LAYERDIR}}/recipes-*/*/*.bb \ | 5 | BBFILES += "${{LAYERDIR}}/recipes-*/*/*.bb \ |
6 | ${{LAYERDIR}}/recipes-*/*/*.bbappend" | 6 | ${{LAYERDIR}}/recipes-*/*/*.bbappend" |
7 | 7 | ||
8 | BBFILE_COLLECTIONS += "{layername}" | 8 | BBFILE_COLLECTIONS += "{layerid}" |
9 | BBFILE_PATTERN_{layername} = "^${{LAYERDIR}}/" | 9 | BBFILE_PATTERN_{layerid} = "^${{LAYERDIR}}/" |
10 | BBFILE_PRIORITY_{layername} = "{priority}" | 10 | BBFILE_PRIORITY_{layerid} = "{priority}" |
11 | 11 | ||
12 | LAYERDEPENDS_{layername} = "core" | 12 | LAYERDEPENDS_{layerid} = "core" |
13 | LAYERSERIES_COMPAT_{layername} = "{compat}" | 13 | LAYERSERIES_COMPAT_{layerid} = "{compat}" |