summaryrefslogtreecommitdiff
path: root/bitbake/bin
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-03-20 15:03:30 +0000
committerRichard Purdie <richard@openedhand.com>2006-03-20 15:03:30 +0000
commit78c5069d658152181870174362d90f6bf9ef59d7 (patch)
treef9103958017b944bc4298c2b1b7745bfc7204ada /bitbake/bin
parent8f696d3b9f9776b897a6821dc399ef8308a78645 (diff)
downloadopenembedded-core-78c5069d658152181870174362d90f6bf9ef59d7.tar.gz
openembedded-core-78c5069d658152181870174362d90f6bf9ef59d7.tar.bz2
openembedded-core-78c5069d658152181870174362d90f6bf9ef59d7.zip
bitbake: Fix a couple of VAR_${PN} errors reported by ross
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@307 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/bitbake3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index f371bfe165..63bd07fe34 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -77,10 +77,10 @@ class BBParsingStatus:
pr = bb.data.getVar('PR', bb_data, True)
dp = int(bb.data.getVar('DEFAULT_PREFERENCE', bb_data, True) or "0")
provides = Set([pn] + (bb.data.getVar("PROVIDES", bb_data, 1) or "").split())
- rprovides = (bb.data.getVar("RPROVIDES", bb_data, 1) or "").split()
depends = (bb.data.getVar("DEPENDS", bb_data, True) or "").split()
packages = (bb.data.getVar('PACKAGES', bb_data, True) or "").split()
packages_dynamic = (bb.data.getVar('PACKAGES_DYNAMIC', bb_data, True) or "").split()
+ rprovides = Set((bb.data.getVar("RPROVIDES_%s" % pn, bb_data, 1) or "").split() + (bb.data.getVar("RPROVIDES", bb_data, 1) or "").split())
# build PackageName to FileName lookup table
@@ -656,6 +656,7 @@ class BBCooker:
rdepends += bb.utils.explode_deps(bb.data.getVar('RDEPENDS', the_data, True) or "")
rdepends += bb.utils.explode_deps(bb.data.getVar('RRECOMMENDS', the_data, True) or "")
rdepends += bb.utils.explode_deps(bb.data.getVar("RDEPENDS_%s" % pn, the_data, True) or "")
+ rdepends += bb.utils.explode_deps(bb.data.getVar('RRECOMMENDS_%s' % pn, the_data, True) or "")
else:
packages = (bb.data.getVar('PACKAGES', the_data, 1).split() or "")
for package in packages: