mirror of
https://git.yoctoproject.org/poky
synced 2026-02-06 08:48:45 +01:00
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>
14 lines
421 B
Plaintext
14 lines
421 B
Plaintext
# We have a conf and classes directory, add to BBPATH
|
|
BBPATH .= ":${{LAYERDIR}}"
|
|
|
|
# We have recipes-* directories, add to BBFILES
|
|
BBFILES += "${{LAYERDIR}}/recipes-*/*/*.bb \
|
|
${{LAYERDIR}}/recipes-*/*/*.bbappend"
|
|
|
|
BBFILE_COLLECTIONS += "{layerid}"
|
|
BBFILE_PATTERN_{layerid} = "^${{LAYERDIR}}/"
|
|
BBFILE_PRIORITY_{layerid} = "{priority}"
|
|
|
|
LAYERDEPENDS_{layerid} = "core"
|
|
LAYERSERIES_COMPAT_{layerid} = "{compat}"
|