diff options
-rw-r--r-- | conf/layer.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/conf/layer.conf b/conf/layer.conf index 0de7f60..5b8551f 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -18,3 +18,13 @@ BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \ # Add layer-specific bb files too BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bb' % layer \ for layer in BBFILE_COLLECTIONS.split())}" + +# Add layer-specific .bb and .bbappend files, when meta-backports is included in the +# configuration. +BBFILES += "${@bb.utils.contains('BBFILE_COLLECTIONS', 'backports', \ + ' '.join('${LAYERDIR}/backports/%s/recipes*/*/*.bbappend' % layer \ + for layer in BBFILE_COLLECTIONS.split()),'',d)}" + +BBFILES += "${@bb.utils.contains('BBFILE_COLLECTIONS', 'backports', \ + ' '.join('${LAYERDIR}/backports/%s/recipes*/*/*.bb' % layer \ + for layer in BBFILE_COLLECTIONS.split()),'',d)}" |