diff options
-rw-r--r-- | meta/recipes-kernel/perf/perf_3.4.bb | 12 |
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." | |||
9 | LICENSE = "GPLv2" | 9 | LICENSE = "GPLv2" |
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" |
11 | 11 | ||
12 | PR = "r0" | 12 | PR = "r1" |
13 | 13 | ||
14 | BUILDPERF_libc-uclibc = "no" | 14 | BUILDPERF_libc-uclibc = "no" |
15 | 15 | ||
@@ -24,6 +24,13 @@ PROVIDES = "virtual/perf" | |||
24 | 24 | ||
25 | inherit kernel-arch | 25 | inherit kernel-arch |
26 | 26 | ||
27 | # needed for building the tools/perf Python bindings | ||
28 | inherit python-dir | ||
29 | export STAGING_INCDIR | ||
30 | export STAGING_LIBDIR | ||
31 | export BUILD_SYS | ||
32 | export HOST_SYS | ||
33 | |||
27 | S = "${STAGING_KERNEL_DIR}" | 34 | S = "${STAGING_KERNEL_DIR}" |
28 | B = "${WORKDIR}/${BPN}-${PV}" | 35 | B = "${WORKDIR}/${BPN}-${PV}" |
29 | 36 | ||
@@ -44,7 +51,10 @@ do_compile() { | |||
44 | 51 | ||
45 | do_install() { | 52 | do_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 | ||
49 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 57 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
50 | 58 | ||
59 | FILES_${PN}-dbg += "${libdir}/python*/site-packages/.debug" | ||
60 | FILES_${PN} += "${libdir}/python*/site-packages" | ||