diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-05-01 23:30:20 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-05-09 02:43:30 +0300 |
commit | 370a2410fe25d14d3dea8abe6a9c0caa88a8a18e (patch) | |
tree | aa4e1429744a00c8c2232df789ab771510009042 /meta-ibm/meta-z | |
parent | 4094c1b70ea460fa298b7bcff49ca63e0a645f72 (diff) | |
download | openbmc-370a2410fe25d14d3dea8abe6a9c0caa88a8a18e.tar.xz |
meta-z: 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: 1938f1af3bb02726f0046ed737c55a319469e21d)
Change-Id: I6ba0de9fbd44df3da726adecc94d4036b4573bbf
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-ibm/meta-z')
-rw-r--r-- | meta-ibm/meta-z/conf/layer.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-ibm/meta-z/conf/layer.conf b/meta-ibm/meta-z/conf/layer.conf index 252db1d9a7..7b542303cf 100644 --- a/meta-ibm/meta-z/conf/layer.conf +++ b/meta-ibm/meta-z/conf/layer.conf @@ -2,4 +2,4 @@ BBPATH .= ":${LAYERDIR}" BBFILE_COLLECTIONS += "ibm-z-layer" -BBFILE_PATTERN_ibm-z-layer = "" +BBFILE_PATTERN_ibm-z-layer := "^${LAYERDIR}/" |