summaryrefslogtreecommitdiff
path: root/classes/base.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-10-20 15:11:41 +0000
committerRichard Purdie <rpurdie@rpsys.net>2006-10-20 15:11:41 +0000
commit397184fc7c2bdc9f535c5f7298656474bfab284c (patch)
tree6062a9e330db6365b2be50feff3a2c415b6f28a8 /classes/base.bbclass
parent0aa0fbd1d5ae7f6476129809f29ee3cda7e6a8ef (diff)
base/package.bbclass: Clean up and document things a bit more. Should be no functional changes (from poky)
Diffstat (limited to 'classes/base.bbclass')
-rw-r--r--classes/base.bbclass21
1 files changed, 0 insertions, 21 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 0e864457ab..6c158e9ef7 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -619,27 +619,6 @@ def explode_deps(s):
r.append(i)
return r
-python read_shlibdeps () {
- packages = (bb.data.getVar('PACKAGES', d, 1) or "").split()
- for pkg in packages:
- rdepends = explode_deps(bb.data.getVar('RDEPENDS_' + pkg, d, 0) or bb.data.getVar('RDEPENDS', d, 0) or "")
- shlibsfile = bb.data.expand("${WORKDIR}/install/" + pkg + ".shlibdeps", d)
- if os.access(shlibsfile, os.R_OK):
- fd = file(shlibsfile)
- lines = fd.readlines()
- fd.close()
- for l in lines:
- rdepends.append(l.rstrip())
- pcfile = bb.data.expand("${WORKDIR}/install/" + pkg + ".pcdeps", d)
- if os.access(pcfile, os.R_OK):
- fd = file(pcfile)
- lines = fd.readlines()
- fd.close()
- for l in lines:
- rdepends.append(l.rstrip())
- bb.data.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends), d)
-}
-
def read_pkgdatafile(fn):
pkgdata = {}