summaryrefslogtreecommitdiff
path: root/meta-quanta/conf
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2019-05-08 00:26:51 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-05-09 02:43:00 +0300
commit5ef4dda8ec761fd2c92a114987e2b56cb821cb4f (patch)
treea46b8a54799f75afdc6a5273148615e6ec66b52b /meta-quanta/conf
parentb3331fa8d75fbc54ef020e30bb69af0f5d0e305e (diff)
downloadopenbmc-5ef4dda8ec761fd2c92a114987e2b56cb821cb4f.tar.xz
meta-quanta: 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 Removes warning: WARNING: No bb files matched BBFILE_PATTERN_quanta '' (From meta-quanta rev: 745d571bfb21a95152a1f5a112f837f4fa321680) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I3b0f8acdd06ac9842a20a77efc5655966078ce1c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-quanta/conf')
-rw-r--r--meta-quanta/conf/layer.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-quanta/conf/layer.conf b/meta-quanta/conf/layer.conf
index 8bbd31dca..fb4c08315 100644
--- a/meta-quanta/conf/layer.conf
+++ b/meta-quanta/conf/layer.conf
@@ -2,7 +2,7 @@
BBPATH .= ":${LAYERDIR}"
BBFILE_COLLECTIONS += "quanta"
-BBFILE_PATTERN_quanta = ""
+BBFILE_PATTERN_quanta := "^${LAYERDIR}/"
# Provide a variable that points the base of the quanta layer.
QUANTABASE = '${@os.path.normpath("${LAYERDIR}/")}'