summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-kernel/perf/perf_3.4.bb11
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 "
21RDEPENDS_${PN} += "elfutils perl python" 21
22RDEPENDS_${PN} += "elfutils perl perl-modules python"
22 23
23PROVIDES = "virtual/perf" 24PROVIDES = "virtual/perf"
24 25
@@ -31,6 +32,14 @@ export STAGING_LIBDIR
31export BUILD_SYS 32export BUILD_SYS
32export HOST_SYS 33export HOST_SYS
33 34
35# needed for building the tools/perf Perl binding
36inherit perlnative cpan-base
37# Env var which tells perl if it should use host (no) or target (yes) settings
38export PERLCONFIGTARGET = "${@is_target(d)}"
39export PERL_INC = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}/CORE"
40export PERL_LIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}"
41export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}"
42
34S = "${STAGING_KERNEL_DIR}" 43S = "${STAGING_KERNEL_DIR}"
35B = "${WORKDIR}/${BPN}-${PV}" 44B = "${WORKDIR}/${BPN}-${PV}"
36 45