diff options
author | Richard Purdie <richard@openedhand.com> | 2006-10-20 14:31:06 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-10-20 14:31:06 +0000 |
commit | 49d42d9fe619a6897cd95ba42defcb1e5a4bff1f (patch) | |
tree | a2b1652cb21125b6b477aee73d4236e4a67d1b4a /meta/classes/base.bbclass | |
parent | 95ec43a3424d56bd4aeb1946c5954b40c889b1d0 (diff) | |
download | openembedded-core-49d42d9fe619a6897cd95ba42defcb1e5a4bff1f.tar.gz openembedded-core-49d42d9fe619a6897cd95ba42defcb1e5a4bff1f.tar.bz2 openembedded-core-49d42d9fe619a6897cd95ba42defcb1e5a4bff1f.zip |
base.bbclass, package.bbclass: Clean up and document. Should be no actual code changes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@806 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index e779cd5e6c..54c30f7b8f 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -589,9 +589,6 @@ do_build[func] = "1" # Functions that update metadata based on files outputted # during the build process. -SHLIBS = "" -RDEPENDS_prepend = " ${SHLIBS}" - def explode_deps(s): r = [] l = s.split() @@ -609,26 +606,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 = {} |