summaryrefslogtreecommitdiffstats
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
parenta61f5b0a7796cdae3d586f28bbf8fe1da8417d9f (diff)
downloadpoky-628db3a7cfd8a35cfd8525f580aa08da5fe2a4d2.tar.gz
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
-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 00298cf3c4..a714b08225 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -925,11 +925,15 @@ python package_depchains() {
925 rreclist = explode_deps(bb.data.getVar('RRECOMMENDS_' + pkg, d, 1) or bb.data.getVar('RRECOMMENDS', d, 1) or "") 925 rreclist = explode_deps(bb.data.getVar('RRECOMMENDS_' + pkg, d, 1) or bb.data.getVar('RRECOMMENDS', d, 1) or "")
926 926
927 for depend in rdepends: 927 for depend in rdepends:
928 if depend.find('virtual-locale-') != -1:
929 #bb.note("Skipping %s" % depend)
930 continue
928 if depend.endswith('-dev'): 931 if depend.endswith('-dev'):
929 depend = depend.replace('-dev', '') 932 depend = depend.replace('-dev', '')
930 if depend.endswith('-dbg'): 933 if depend.endswith('-dbg'):
931 depend = depend.replace('-dbg', '') 934 depend = depend.replace('-dbg', '')
932 pkgname = getname(depend, suffix) 935 pkgname = getname(depend, suffix)
936 #bb.note("Adding %s for %s" % (pkgname, depend))
933 if not pkgname in rreclist: 937 if not pkgname in rreclist:
934 rreclist.append(pkgname) 938 rreclist.append(pkgname)
935 939