summaryrefslogtreecommitdiff
path: root/meta-ibm/conf
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2019-05-01 23:21:32 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-05-09 02:43:31 +0300
commit786576f42ebcb2c05a2f86b4ccd947cb98d0679d (patch)
tree4f87b8d14f1efb701f51abfc3f6c9bed5e9adbad /meta-ibm/conf
parent18c01b9961e50881b6835e7f1078b5c5d39c341f (diff)
downloadopenbmc-786576f42ebcb2c05a2f86b4ccd947cb98d0679d.tar.xz
meta-ibm: layer.conf: set BBFILE_PATTERN
Bitbake uses this regex to associate recipes and bbappends from BBFILES (which contains recipes and bbappends from -all- layers listed in bblayers.conf) to this layer. The association is then used to map the BBFILE_PRIORITY value for this layer onto the recipes provided by this layer. BBFILE_PRIORITY is used to determine which recipe to use when the same recipe appears in multiple layers. Without BBFILE_PATTERN set, recipes in this layer will get a default priority and not the priority specified in BBFILE_PRIORITY. This layer doesn't set a priority anyway, so functionally this patch is a noop but it is an improvement from a correctness standpoint, and it makes a warning go away: WARNING: No bb files matched BBFILE_PATTERN_foo-layer (From meta-ibm rev: 32cabcf8a5f70946d80f51ac41917987f6118031) Change-Id: Iad810a7a9606a2aee1982337508d1be24cff79f8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-ibm/conf')
-rw-r--r--meta-ibm/conf/layer.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-ibm/conf/layer.conf b/meta-ibm/conf/layer.conf
index 2d1bdcf46..f16cdee5f 100644
--- a/meta-ibm/conf/layer.conf
+++ b/meta-ibm/conf/layer.conf
@@ -6,7 +6,7 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "ibm-layer"
-BBFILE_PATTERN_ibm-layer = ""
+BBFILE_PATTERN_ibm-layer := "^${LAYERDIR}/"
LAYERSERIES_COMPAT_ibm-layer = "thud warrior"
# Provide a variable that points the base of the ibm layer.