mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 09:49:33 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
b7d1f361ff
commit
27d0fcddd1
@@ -5,9 +5,9 @@ BBPATH .= ":${{LAYERDIR}}"
|
||||
BBFILES += "${{LAYERDIR}}/recipes-*/*/*.bb \
|
||||
${{LAYERDIR}}/recipes-*/*/*.bbappend"
|
||||
|
||||
BBFILE_COLLECTIONS += "{layername}"
|
||||
BBFILE_PATTERN_{layername} = "^${{LAYERDIR}}/"
|
||||
BBFILE_PRIORITY_{layername} = "{priority}"
|
||||
BBFILE_COLLECTIONS += "{layerid}"
|
||||
BBFILE_PATTERN_{layerid} = "^${{LAYERDIR}}/"
|
||||
BBFILE_PRIORITY_{layerid} = "{priority}"
|
||||
|
||||
LAYERDEPENDS_{layername} = "core"
|
||||
LAYERSERIES_COMPAT_{layername} = "{compat}"
|
||||
LAYERDEPENDS_{layerid} = "core"
|
||||
LAYERSERIES_COMPAT_{layerid} = "{compat}"
|
||||
|
||||
Reference in New Issue
Block a user