diff options
author | Richard Purdie <richard@openedhand.com> | 2007-08-08 22:28:17 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-08-08 22:28:17 +0000 |
commit | 029f45e0802fa96481d22194799bfa424e2d884a (patch) | |
tree | d96c7d42cd925ec49435da7276b4c93c1ba372ca /bitbake/lib/bb | |
parent | 3de28a7ff112e2ae4965ef21ebd6a420867f274f (diff) | |
download | openembedded-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/lib/bb')
-rw-r--r-- | bitbake/lib/bb/providers.py | 2 |
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) |