Cure Bitbake warnings
These trivial updates are intended to cure the
following Bitbake warnings:
WARNING: Layer tiogapass-layer should set
LAYERSERIES_COMPAT_tiogapass-layer in its
conf/layer.conf file to list the core layer names
it is compatible with.
WARNING: No bb files matched
BBFILE_PATTERN_tiogapass-layer ''
Compatibility was previously not specified. Also,
the BBFILE_PATTERN did not point to the layer
directory.
A warning will still be generated regarding no BB
files at the Facebook layer because there aren't
any present at this time. However, this patch
makes it look in the correct place when there are
BB files present.
(From meta-facebook rev: c0d6c3eeaa6bc45815d86aee5d0721461442a418)
Signed-off-by: Wilfred Smith [Facebook] <wilfredsmith@fb.com>
Change-Id: I6eee6568b8ab00963d6eac72f9cd48ae716af26e
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-facebook/conf/layer.conf b/meta-facebook/conf/layer.conf
index 3e5c15c..af9ff5f 100644
--- a/meta-facebook/conf/layer.conf
+++ b/meta-facebook/conf/layer.conf
@@ -6,5 +6,5 @@
${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "facebook-layer"
-BBFILE_PATTERN_facebook-layer = ""
-LAYERSERIES_COMPAT_facebook-layer = "thud warrior"
+BBFILE_PATTERN_facebook-layer := "^${LAYERDIR}/"
+LAYERSERIES_COMPAT_facebook-layer := "thud warrior"
diff --git a/meta-facebook/meta-tiogapass/conf/layer.conf b/meta-facebook/meta-tiogapass/conf/layer.conf
index e0be064..1b01364 100644
--- a/meta-facebook/meta-tiogapass/conf/layer.conf
+++ b/meta-facebook/meta-tiogapass/conf/layer.conf
@@ -6,4 +6,6 @@
${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "tiogapass-layer"
-BBFILE_PATTERN_tiogapass-layer = ""
+BBFILE_PATTERN_tiogapass-layer := "^${LAYERDIR}/"
+
+LAYERSERIES_COMPAT_tiogapass-layer := "thud warrior"
\ No newline at end of file