diff options
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 = {} |
