summaryrefslogtreecommitdiff
path: root/meta-ibm/meta-palmetto/conf
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2019-05-01 23:23:32 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-05-09 02:43:30 +0300
commit25e361198a29899aad388c138daca496ba6d4d24 (patch)
treea6c99b1e36b3c692380a767cbe2fe97a9d111ec9 /meta-ibm/meta-palmetto/conf
parent327ad896a0c277d8b5912b1bb3fa82130865e40a (diff)
downloadopenbmc-25e361198a29899aad388c138daca496ba6d4d24.tar.xz
meta-palmetto: 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: 7d7f662db06cc9f8e4a5bd9d18c68c4bb05d274c) Change-Id: I0ba9d2a6161b0da271111c710dc3267d0374b2a8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-ibm/meta-palmetto/conf')
-rw-r--r--meta-ibm/meta-palmetto/conf/layer.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-ibm/meta-palmetto/conf/layer.conf b/meta-ibm/meta-palmetto/conf/layer.conf
index 4bc43efd2..0329e5dc5 100644
--- a/meta-ibm/meta-palmetto/conf/layer.conf
+++ b/meta-ibm/meta-palmetto/conf/layer.conf
@@ -6,5 +6,5 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "palmetto-layer"
-BBFILE_PATTERN_palmetto-layer = ""
+BBFILE_PATTERN_palmetto-layer := "^${LAYERDIR}/"
LAYERSERIES_COMPAT_palmetto-layer = "thud warrior"