diff options
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r-- | meta/recipes-kernel/lttng/lttng-tools_2.5.0.bb | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.5.0.bb b/meta/recipes-kernel/lttng/lttng-tools_2.5.0.bb index 1ec0f4a72b..fd44aa5f6d 100644 --- a/meta/recipes-kernel/lttng/lttng-tools_2.5.0.bb +++ b/meta/recipes-kernel/lttng/lttng-tools_2.5.0.bb | |||
@@ -15,6 +15,14 @@ RDEPENDS_${PN}-ptest += "make perl bash" | |||
15 | SRCREV = "8b27cacb277c2cdab791139b08da8eb87ab14a88" | 15 | SRCREV = "8b27cacb277c2cdab791139b08da8eb87ab14a88" |
16 | PV = "v2.5.0" | 16 | PV = "v2.5.0" |
17 | 17 | ||
18 | PYTHON_OPTION = "am_cv_python_pyexecdir='${libdir}/python${PYTHON_BASEVERSION}/site-packages' \ | ||
19 | am_cv_python_pythondir='${libdir}/python${PYTHON_BASEVERSION}/site-packages' \ | ||
20 | PYTHON_INCLUDE='-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}' \ | ||
21 | " | ||
22 | PACKAGECONFIG ??= "lttng-ust" | ||
23 | PACKAGECONFIG[python] = "--enable-python-bindings ${PYTHON_OPTION},,python swig-native" | ||
24 | PACKAGECONFIG[lttng-ust] = ", --disable-lttng-ust, lttng-ust" | ||
25 | |||
18 | SRC_URI = "git://git.lttng.org/lttng-tools.git;branch=stable-2.5 \ | 26 | SRC_URI = "git://git.lttng.org/lttng-tools.git;branch=stable-2.5 \ |
19 | file://runtest-2.4.0.patch \ | 27 | file://runtest-2.4.0.patch \ |
20 | file://run-ptest \ | 28 | file://run-ptest \ |
@@ -26,12 +34,17 @@ inherit autotools-brokensep ptest pkgconfig | |||
26 | 34 | ||
27 | export KERNELDIR="${STAGING_KERNEL_DIR}" | 35 | export KERNELDIR="${STAGING_KERNEL_DIR}" |
28 | 36 | ||
29 | FILES_${PN} += "${libdir}/lttng/libexec/* ${datadir}/xml/lttng" | 37 | FILES_${PN} += "${libdir}/lttng/libexec/* ${datadir}/xml/lttng \ |
30 | FILES_${PN}-dbg += "${libdir}/lttng/libexec/.debug" | 38 | ${libdir}/python${PYTHON_BASEVERSION}/site-packages/*" |
39 | FILES_${PN}-dbg += "${libdir}/lttng/libexec/.debug \ | ||
40 | ${libdir}/python2.7/site-packages/.debug" | ||
41 | FILES_${PN}-staticdev += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*.a" | ||
42 | FILES_${PN}-dev += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*.la" | ||
31 | 43 | ||
32 | # Since files are installed into ${libdir}/lttng/libexec we match | 44 | # Since files are installed into ${libdir}/lttng/libexec we match |
33 | # the libexec insane test so skip it. | 45 | # the libexec insane test so skip it. |
34 | INSANE_SKIP_${PN} = "libexec" | 46 | # Python module needs to keep _lttng.so |
47 | INSANE_SKIP_${PN} = "libexec dev-so" | ||
35 | INSANE_SKIP_${PN}-dbg = "libexec" | 48 | INSANE_SKIP_${PN}-dbg = "libexec" |
36 | 49 | ||
37 | do_configure_prepend () { | 50 | do_configure_prepend () { |