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 | poky-49d42d9fe619a6897cd95ba42defcb1e5a4bff1f.tar.gz |
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" | |||
589 | # Functions that update metadata based on files outputted | 589 | # Functions that update metadata based on files outputted |
590 | # during the build process. | 590 | # during the build process. |
591 | 591 | ||
592 | SHLIBS = "" | ||
593 | RDEPENDS_prepend = " ${SHLIBS}" | ||
594 | |||
595 | def explode_deps(s): | 592 | def explode_deps(s): |
596 | r = [] | 593 | r = [] |
597 | l = s.split() | 594 | l = s.split() |
@@ -609,26 +606,6 @@ def explode_deps(s): | |||
609 | r.append(i) | 606 | r.append(i) |
610 | return r | 607 | return r |
611 | 608 | ||
612 | python read_shlibdeps () { | ||
613 | packages = (bb.data.getVar('PACKAGES', d, 1) or "").split() | ||
614 | for pkg in packages: | ||
615 | rdepends = explode_deps(bb.data.getVar('RDEPENDS_' + pkg, d, 0) or bb.data.getVar('RDEPENDS', d, 0) or "") | ||
616 | shlibsfile = bb.data.expand("${WORKDIR}/install/" + pkg + ".shlibdeps", d) | ||
617 | if os.access(shlibsfile, os.R_OK): | ||
618 | fd = file(shlibsfile) | ||
619 | lines = fd.readlines() | ||
620 | fd.close() | ||
621 | for l in lines: | ||
622 | rdepends.append(l.rstrip()) | ||
623 | pcfile = bb.data.expand("${WORKDIR}/install/" + pkg + ".pcdeps", d) | ||
624 | if os.access(pcfile, os.R_OK): | ||
625 | fd = file(pcfile) | ||
626 | lines = fd.readlines() | ||
627 | fd.close() | ||
628 | for l in lines: | ||
629 | rdepends.append(l.rstrip()) | ||
630 | bb.data.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends), d) | ||
631 | } | ||
632 | 609 | ||
633 | def read_pkgdatafile(fn): | 610 | def read_pkgdatafile(fn): |
634 | pkgdata = {} | 611 | pkgdata = {} |