mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
layer.conf: Add Dynamic Layer mechanism
This allow for bbappend files to be enabled when specific layers are included. Change-Id: Iecbcf0de85a64aad71605b60ecd3d9a2586fae85 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
f1e2bf782f
commit
e2432d3bb4
|
@ -12,3 +12,12 @@ BBFILE_PRIORITY_raspberrypi = "9"
|
||||||
# Additional license directories.
|
# Additional license directories.
|
||||||
LICENSE_PATH += "${LAYERDIR}/files/custom-licenses"
|
LICENSE_PATH += "${LAYERDIR}/files/custom-licenses"
|
||||||
|
|
||||||
|
# The dynamic-layers directory hosts the extensions and layer specific
|
||||||
|
# modifications.
|
||||||
|
#
|
||||||
|
# The .bbappend and .bb files are included if the respective layer
|
||||||
|
# collection is available.
|
||||||
|
BBFILES += "${@' '.join('${LAYERDIR}/dynamic-layers/%s/recipes*/*/*.bbappend' % layer \
|
||||||
|
for layer in BBFILE_COLLECTIONS.split())}"
|
||||||
|
BBFILES += "${@' '.join('${LAYERDIR}/dynamic-layers/%s/recipes*/*/*.bb' % layer \
|
||||||
|
for layer in BBFILE_COLLECTIONS.split())}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user