diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-05-01 22:37:49 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-05-09 16:39:07 +0300 |
commit | 4377e54fb97bc70e9db45ffa3a9709b130763528 (patch) | |
tree | f3bc10582d986b58c27340b3d6ec8e77fe96532e /meta-aspeed | |
parent | 470609c2e48972d92feb61d6bce4f6700b803d4b (diff) | |
download | openbmc-4377e54fb97bc70e9db45ffa3a9709b130763528.tar.xz |
meta-aspeed: 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-aspeed rev: 1d2385f66eebac4548d7512b75f26fc641548c02)
Change-Id: Ia4101252ce6dc9ec0ebc920103ef3b5417775c2e
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-aspeed')
-rw-r--r-- | meta-aspeed/conf/layer.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-aspeed/conf/layer.conf b/meta-aspeed/conf/layer.conf index 22f56a355..b990839bd 100644 --- a/meta-aspeed/conf/layer.conf +++ b/meta-aspeed/conf/layer.conf @@ -5,7 +5,7 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ ${LAYERDIR}/recipes-*/*/*.bbappend" BBFILE_COLLECTIONS += "aspeed-layer" -BBFILE_PATTERN_aspeed-layer = "" +BBFILE_PATTERN_aspeed-layer := "^${LAYERDIR}/" LAYERVERSION_aspeed-layer = "1" LAYERSERIES_COMPAT_aspeed-layer = "thud warrior" |