aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2021-08-26 19:37:01 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-27 11:54:46 +0100
commit653df4bc413d595d5611d5fa678e7f2e30bb7431 (patch)
treec4664358718ce198ded37afc8839967379c5c3a2 /lib
parent8c7a54ea7fdc721278380895d01868b96b330b90 (diff)
downloadbitbake-653df4bc413d595d5611d5fa678e7f2e30bb7431.tar.gz
providers: Use new override syntax when handling pn- "override"
Make versionVariableMatch() support pn-foo overrides using the new override syntax. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/bb/providers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/providers.py b/lib/bb/providers.py
index 516d45e4a..8c1c31a5c 100644
--- a/lib/bb/providers.py
+++ b/lib/bb/providers.py
@@ -94,7 +94,7 @@ def versionVariableMatch(cfgData, keyword, pn):
# pn can contain '_', e.g. gcc-cross-x86_64 and an override cannot
# hence we do this manually rather than use OVERRIDES
- ver = cfgData.getVar("%s_VERSION_pn-%s" % (keyword, pn))
+ ver = cfgData.getVar("%s_VERSION:pn-%s" % (keyword, pn))
if not ver:
ver = cfgData.getVar("%s_VERSION_%s" % (keyword, pn))
if not ver: