summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-29 14:12:23 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-01 15:54:02 +0000
commit26ea3678528fac29b7c7e8800b3ae1815619f735 (patch)
tree3a890b1d943d99ffc3bc980e312b3a321bc27975
parent244f107c1f11bb74b5a489e4f24eac93706aa584 (diff)
downloadpoky-26ea3678528fac29b7c7e8800b3ae1815619f735.tar.gz
package.bbclass: Use expanded RDEPENDS in read_shlibdeps
We may as well expand the RDEPENDS when reading and writing as this function does. if we don't do this, we could accidentally duplicate data and it also turns out to be much less efficient. (From OE-Core rev: d62a3151e7b252911c172a605b3089de355663c5) (From OE-Core rev: 8f602e84e6ae4e346acef7cf5473343039fa352a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 5f6cf802c2..fec3db6b37 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1680,7 +1680,7 @@ python read_shlibdeps () {
1680 1680
1681 packages = d.getVar('PACKAGES', True).split() 1681 packages = d.getVar('PACKAGES', True).split()
1682 for pkg in packages: 1682 for pkg in packages:
1683 rdepends = bb.utils.explode_dep_versions2(d.getVar('RDEPENDS_' + pkg, False) or d.getVar('RDEPENDS', False) or "") 1683 rdepends = bb.utils.explode_dep_versions2(d.getVar('RDEPENDS_' + pkg, True) or d.getVar('RDEPENDS', True) or "")
1684 for dep in pkglibdeps[pkg]: 1684 for dep in pkglibdeps[pkg]:
1685 # Add the dep if it's not already there, or if no comparison is set 1685 # Add the dep if it's not already there, or if no comparison is set
1686 if dep not in rdepends: 1686 if dep not in rdepends: