diff --git a/meta-digi-dey/conf/layer.conf b/meta-digi-dey/conf/layer.conf index d120524cf..ea067e36f 100644 --- a/meta-digi-dey/conf/layer.conf +++ b/meta-digi-dey/conf/layer.conf @@ -5,6 +5,11 @@ BBPATH .= ":${LAYERDIR}" BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ ${LAYERDIR}/recipes-*/*/*.bbappend" +# Let us add layer-specific bbappends which are only applied when that +# layer is included in our configuration +BBFILES += "${@' '.join('${LAYERDIR}/other-layers/%s/recipes*/*/*.bbappend' % layer \ + for layer in BBFILE_COLLECTIONS.split())}" + BBFILE_COLLECTIONS += "dey" BBFILE_PATTERN_dey := "^${LAYERDIR}/" BBFILE_PRIORITY_dey = "6"