meta-runbmc-nuvoton: 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.
(From meta-quanta rev: 9bcdc320a7d1f049ea703de4dbecbc8013bfa2e5)
Signed-off-by: Joseph Liu <kwliu@nuvoton.com>
Change-Id: Id6d2d050d43fc0fa0b90497a91be22e008e7f7b3
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-quanta/meta-runbmc-nuvoton/conf/layer.conf b/meta-quanta/meta-runbmc-nuvoton/conf/layer.conf
index e5aca0e..2be0f0c 100644
--- a/meta-quanta/meta-runbmc-nuvoton/conf/layer.conf
+++ b/meta-quanta/meta-runbmc-nuvoton/conf/layer.conf
@@ -6,5 +6,5 @@
${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "runbmc-nuvoton-layer"
-BBFILE_PATTERN_runbmc-nuvoton-layer = ""
+BBFILE_PATTERN_runbmc-nuvoton-layer := "^${LAYERDIR}/"
LAYERSERIES_COMPAT_runbmc-nuvoton-layer = "thud warrior"