summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-10-02 22:05:09 +0000
committerRichard Purdie <richard@openedhand.com>2008-10-02 22:05:09 +0000
commit628db3a7cfd8a35cfd8525f580aa08da5fe2a4d2 (patch)
tree2c608c4e6a516480c894729a342182e072a4ac2f /meta
parenta61f5b0a7796cdae3d586f28bbf8fe1da8417d9f (diff)
downloadopenembedded-core-628db3a7cfd8a35cfd8525f580aa08da5fe2a4d2.tar.gz
openembedded-core-628db3a7cfd8a35cfd8525f580aa08da5fe2a4d2.tar.bz2
openembedded-core-628db3a7cfd8a35cfd8525f580aa08da5fe2a4d2.tar.xz
openembedded-core-628db3a7cfd8a35cfd8525f580aa08da5fe2a4d2.zip
package.bbclass: Ignore virtual-locale- packages when building -dev and -dbg dependency chains
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5399 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/package.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 00298cf3c..a714b0822 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -925,11 +925,15 @@ python package_depchains() {
rreclist = explode_deps(bb.data.getVar('RRECOMMENDS_' + pkg, d, 1) or bb.data.getVar('RRECOMMENDS', d, 1) or "")
for depend in rdepends:
+ if depend.find('virtual-locale-') != -1:
+ #bb.note("Skipping %s" % depend)
+ continue
if depend.endswith('-dev'):
depend = depend.replace('-dev', '')
if depend.endswith('-dbg'):
depend = depend.replace('-dbg', '')
pkgname = getname(depend, suffix)
+ #bb.note("Adding %s for %s" % (pkgname, depend))
if not pkgname in rreclist:
rreclist.append(pkgname)