[oe] [meta-raspberrypi][PATCH] layer.conf: handle dynamic layer configuration

Yen-Chin Lee coldnew.tw at gmail.com
Tue Jan 27 06:14:51 UTC 2015


Using a separate layer specific directory as meta-fsl-arm does with
qt5-layer, this will prevent meta-raspberrypi change layer dependencies
when add qt5 packages.

patch is taken from:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/layer.conf#n20

Signed-off-by: Yen-Chin Lee <coldnew.tw at gmail.com>
---
 conf/layer.conf | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/conf/layer.conf b/conf/layer.conf
index 7bffd4b..71f22b4 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -12,3 +12,7 @@ BBFILE_PRIORITY_raspberrypi = "6"
 # Additional license directories.
 LICENSE_PATH += "${LAYERDIR}/files/custom-licenses"
 
+# Let us add layer-specific bbappends which are only applied when that
+# layer is included in our configuration
+BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \
+               for layer in BBFILE_COLLECTIONS.split())}"
-- 
1.9.3 (Apple Git-50)




More information about the Openembedded-devel mailing list