aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorArsalan H. Awan <Arsalan_Awan@mentor.com>2019-05-22 16:28:05 +0500
committerArsalan H. Awan <Arsalan_Awan@mentor.com>2019-05-22 16:28:05 +0500
commit9d653fa5ffa979f11be33031f0981a90adc3e1ac (patch)
tree2041e924e58f8ca72bec80bdcc06879e1f6bfcb0 /common
parent1b579500f9aae4355734d5799e79fea04f44d4ac (diff)
downloadmeta-amd-9d653fa5ffa979f11be33031f0981a90adc3e1ac.tar.gz
meta-amd-9d653fa5ffa979f11be33031f0981a90adc3e1ac.tar.bz2
meta-amd-9d653fa5ffa979f11be33031f0981a90adc3e1ac.zip
common/layer.conf: include bb files too from layer specific dirs
This makes bitbake to pick up our layer-specific bb files as well (as opposed to the previous setting of picking only bbappends) which are only applied when that layer is included in our configuration. This change is required for common/dpdk/recipes-entended/dpdk recipe. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
Diffstat (limited to 'common')
-rw-r--r--common/conf/layer.conf8
1 files changed, 5 insertions, 3 deletions
diff --git a/common/conf/layer.conf b/common/conf/layer.conf
index 8ce97511..99f32c48 100644
--- a/common/conf/layer.conf
+++ b/common/conf/layer.conf
@@ -2,9 +2,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}/%s/recipes*/*/*.bbappend' % layer \
+# Let us add layer-specific bbs & bbappends which are only applied
+# when that layer is included in our configuration
+BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bb' % layer \
+ for layer in BBFILE_COLLECTIONS.split())} \
+ ${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \
for layer in BBFILE_COLLECTIONS.split())}"
BBFILE_COLLECTIONS += "amd"