diff options
-rw-r--r-- | meta/recipes-kernel/perf/perf_3.4.bb | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/meta/recipes-kernel/perf/perf_3.4.bb b/meta/recipes-kernel/perf/perf_3.4.bb index 9f3648473f..514876b873 100644 --- a/meta/recipes-kernel/perf/perf_3.4.bb +++ b/meta/recipes-kernel/perf/perf_3.4.bb | |||
@@ -18,7 +18,8 @@ DEPENDS = "virtual/kernel \ | |||
18 | ${MLPREFIX}elfutils \ | 18 | ${MLPREFIX}elfutils \ |
19 | ${MLPREFIX}binutils \ | 19 | ${MLPREFIX}binutils \ |
20 | " | 20 | " |
21 | RDEPENDS_${PN} += "elfutils perl python" | 21 | |
22 | RDEPENDS_${PN} += "elfutils perl perl-modules python" | ||
22 | 23 | ||
23 | PROVIDES = "virtual/perf" | 24 | PROVIDES = "virtual/perf" |
24 | 25 | ||
@@ -31,6 +32,14 @@ export STAGING_LIBDIR | |||
31 | export BUILD_SYS | 32 | export BUILD_SYS |
32 | export HOST_SYS | 33 | export HOST_SYS |
33 | 34 | ||
35 | # needed for building the tools/perf Perl binding | ||
36 | inherit perlnative cpan-base | ||
37 | # Env var which tells perl if it should use host (no) or target (yes) settings | ||
38 | export PERLCONFIGTARGET = "${@is_target(d)}" | ||
39 | export PERL_INC = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}/CORE" | ||
40 | export PERL_LIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}" | ||
41 | export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}" | ||
42 | |||
34 | S = "${STAGING_KERNEL_DIR}" | 43 | S = "${STAGING_KERNEL_DIR}" |
35 | B = "${WORKDIR}/${BPN}-${PV}" | 44 | B = "${WORKDIR}/${BPN}-${PV}" |
36 | 45 | ||