summaryrefslogtreecommitdiff
path: root/meta-ibm
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2019-05-01 23:24:16 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-05-09 23:52:36 +0300
commit31136902cc8aadd86a95133eba969e81100b67dc (patch)
treeddf69824d246b85c76b1fade6129d1382b260d82 /meta-ibm
parenta64e2d4bf2d6d9e7b79258e4d45743a29df48456 (diff)
downloadopenbmc-31136902cc8aadd86a95133eba969e81100b67dc.tar.xz
meta-witherspoon: 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: ef6380a81fbd701b1052c12c8163498ba4e2de89) Change-Id: I1f4ab259befb094983df056c0f0f81cf8dc6f2e3 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-ibm')
-rw-r--r--meta-ibm/meta-witherspoon/conf/layer.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-ibm/meta-witherspoon/conf/layer.conf b/meta-ibm/meta-witherspoon/conf/layer.conf
index 0ff811e1c8..62b0678747 100644
--- a/meta-ibm/meta-witherspoon/conf/layer.conf
+++ b/meta-ibm/meta-witherspoon/conf/layer.conf
@@ -6,5 +6,5 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "witherspoon-layer"
-BBFILE_PATTERN_witherspoon-layer = ""
+BBFILE_PATTERN_witherspoon-layer := "^${LAYERDIR}/"
LAYERSERIES_COMPAT_witherspoon-layer = "thud warrior"