summaryrefslogtreecommitdiff
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-08-08 22:28:17 +0000
committerRichard Purdie <richard@openedhand.com>2007-08-08 22:28:17 +0000
commit029f45e0802fa96481d22194799bfa424e2d884a (patch)
treed96c7d42cd925ec49435da7276b4c93c1ba372ca /bitbake
parent3de28a7ff112e2ae4965ef21ebd6a420867f274f (diff)
downloadopenembedded-core-029f45e0802fa96481d22194799bfa424e2d884a.tar.gz
openembedded-core-029f45e0802fa96481d22194799bfa424e2d884a.tar.bz2
openembedded-core-029f45e0802fa96481d22194799bfa424e2d884a.zip
providers.py: Also add pn-PN syntax to overrides when evalutating PREFERRED_VERSION
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2416 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/providers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/providers.py b/bitbake/lib/bb/providers.py
index 78f45122ff..81de85e760 100644
--- a/bitbake/lib/bb/providers.py
+++ b/bitbake/lib/bb/providers.py
@@ -56,7 +56,7 @@ def findBestProvider(pn, cfgData, dataCache, pkg_pn = None, item = None):
preferred_file = None
localdata = data.createCopy(cfgData)
- bb.data.setVar('OVERRIDES', "%s:%s" % (pn, data.getVar('OVERRIDES', localdata)), localdata)
+ bb.data.setVar('OVERRIDES', "pn-%s:%s:%s" % (pn, pn, data.getVar('OVERRIDES', localdata)), localdata)
bb.data.update_data(localdata)
preferred_v = bb.data.getVar('PREFERRED_VERSION_%s' % pn, localdata, True)