summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/perf
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@intel.com>2012-06-24 23:26:33 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-04 17:40:37 +0100
commit7a2cf8682e230d38b8f54d9456c0b4f0995a765b (patch)
tree258de1c80066692646973479dd110a95adfae78c /meta/recipes-kernel/perf
parentaeca6512f3a5468b8f65e2986024ab07d2ce45b4 (diff)
downloadpoky-7a2cf8682e230d38b8f54d9456c0b4f0995a765b.tar.gz
perf: enable Python bindings
Add support to enable the perf python bindings. The combination of these changes and the changes in the python-config sections in the kernel Makefile enable all the python bindings currently available in perf. (From OE-Core rev: 487c3a72f0ac7121b79d2f78b81f1d4732bc258a) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/perf')
-rw-r--r--meta/recipes-kernel/perf/perf_3.4.bb12
1 files changed, 11 insertions, 1 deletions
diff --git a/meta/recipes-kernel/perf/perf_3.4.bb b/meta/recipes-kernel/perf/perf_3.4.bb
index 997beb4aef..9f3648473f 100644
--- a/meta/recipes-kernel/perf/perf_3.4.bb
+++ b/meta/recipes-kernel/perf/perf_3.4.bb
@@ -9,7 +9,7 @@ as well."
9LICENSE = "GPLv2" 9LICENSE = "GPLv2"
10LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" 10LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
11 11
12PR = "r0" 12PR = "r1"
13 13
14BUILDPERF_libc-uclibc = "no" 14BUILDPERF_libc-uclibc = "no"
15 15
@@ -24,6 +24,13 @@ PROVIDES = "virtual/perf"
24 24
25inherit kernel-arch 25inherit kernel-arch
26 26
27# needed for building the tools/perf Python bindings
28inherit python-dir
29export STAGING_INCDIR
30export STAGING_LIBDIR
31export BUILD_SYS
32export HOST_SYS
33
27S = "${STAGING_KERNEL_DIR}" 34S = "${STAGING_KERNEL_DIR}"
28B = "${WORKDIR}/${BPN}-${PV}" 35B = "${WORKDIR}/${BPN}-${PV}"
29 36
@@ -44,7 +51,10 @@ do_compile() {
44 51
45do_install() { 52do_install() {
46 oe_runmake DESTDIR=${D} install 53 oe_runmake DESTDIR=${D} install
54 oe_runmake DESTDIR=${D} install-python_ext
47} 55}
48 56
49PACKAGE_ARCH = "${MACHINE_ARCH}" 57PACKAGE_ARCH = "${MACHINE_ARCH}"
50 58
59FILES_${PN}-dbg += "${libdir}/python*/site-packages/.debug"
60FILES_${PN} += "${libdir}/python*/site-packages"