diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2015-11-19 13:48:32 -0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-01 21:32:09 +0000 |
commit | 22dd6e75f80b6967db14e147ec183e587002cdb5 (patch) | |
tree | 95e1b10d655e5cddf9fa8b691d662fb1fdd61bfb /meta/recipes-kernel/lttng/lttng-tools_2.6.0.bb | |
parent | ef73f219ada40dd5fae827e0427012843fc3f70e (diff) | |
download | poky-22dd6e75f80b6967db14e147ec183e587002cdb5.tar.gz |
lttng-tools: Upgrade to 2.7 release
(From OE-Core rev: dddf51204238a094f633149663a7ed843dc8f55c)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/lttng/lttng-tools_2.6.0.bb')
-rw-r--r-- | meta/recipes-kernel/lttng/lttng-tools_2.6.0.bb | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.6.0.bb b/meta/recipes-kernel/lttng/lttng-tools_2.6.0.bb deleted file mode 100644 index 909acc37a7..0000000000 --- a/meta/recipes-kernel/lttng/lttng-tools_2.6.0.bb +++ /dev/null | |||
@@ -1,81 +0,0 @@ | |||
1 | SECTION = "devel" | ||
2 | SUMMARY = "Linux Trace Toolkit Control" | ||
3 | DESCRIPTION = "The Linux trace toolkit is a suite of tools designed \ | ||
4 | to extract program execution details from the Linux operating system \ | ||
5 | and interpret them." | ||
6 | |||
7 | LICENSE = "GPLv2 & LGPLv2.1" | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=01d7fc4496aacf37d90df90b90b0cac1 \ | ||
9 | file://gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
10 | file://lgpl-2.1.txt;md5=0f0d71500e6a57fd24d825f33242b9ca" | ||
11 | |||
12 | DEPENDS = "liburcu popt lttng-ust libxml2" | ||
13 | RDEPENDS_${PN}-ptest += "make perl bash" | ||
14 | |||
15 | SRCREV = "d522c1f14285e2e8b10b7c0cd011847696ffe779" | ||
16 | |||
17 | PYTHON_OPTION = "am_cv_python_pyexecdir='${libdir}/python${PYTHON_BASEVERSION}/site-packages' \ | ||
18 | am_cv_python_pythondir='${libdir}/python${PYTHON_BASEVERSION}/site-packages' \ | ||
19 | PYTHON_INCLUDE='-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}' \ | ||
20 | " | ||
21 | PACKAGECONFIG ??= "lttng-ust" | ||
22 | PACKAGECONFIG[python] = "--enable-python-bindings ${PYTHON_OPTION},,python swig-native" | ||
23 | PACKAGECONFIG[lttng-ust] = "--enable-lttng-ust, --disable-lttng-ust, lttng-ust" | ||
24 | PACKAGECONFIG[kmod] = "--enable-kmod, --disable-kmod, kmod" | ||
25 | |||
26 | SRC_URI = "git://git.lttng.org/lttng-tools.git;branch=stable-2.6 \ | ||
27 | file://runtest-2.4.0.patch \ | ||
28 | file://extern-decls.patch \ | ||
29 | file://run-ptest \ | ||
30 | file://lttng-tools-Fix-live-timer-calculation-error.patch \ | ||
31 | file://0001-Fix-sessiond-disable-match-app-event-by-name.patch \ | ||
32 | " | ||
33 | |||
34 | S = "${WORKDIR}/git" | ||
35 | |||
36 | inherit autotools-brokensep ptest pkgconfig useradd | ||
37 | |||
38 | USERADD_PACKAGES = "${PN}" | ||
39 | GROUPADD_PARAM_${PN} = "tracing" | ||
40 | |||
41 | FILES_${PN} += "${libdir}/lttng/libexec/* ${datadir}/xml/lttng \ | ||
42 | ${libdir}/python${PYTHON_BASEVERSION}/site-packages/*" | ||
43 | FILES_${PN}-dbg += "${libdir}/lttng/libexec/.debug \ | ||
44 | ${libdir}/python2.7/site-packages/.debug" | ||
45 | FILES_${PN}-staticdev += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*.a" | ||
46 | FILES_${PN}-dev += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*.la" | ||
47 | |||
48 | # Since files are installed into ${libdir}/lttng/libexec we match | ||
49 | # the libexec insane test so skip it. | ||
50 | # Python module needs to keep _lttng.so | ||
51 | INSANE_SKIP_${PN} = "libexec dev-so" | ||
52 | INSANE_SKIP_${PN}-dbg = "libexec" | ||
53 | |||
54 | do_configure_prepend () { | ||
55 | # Delete a shipped m4 file that overrides our patched one | ||
56 | rm -f ${S}/config/libxml.m4 | ||
57 | } | ||
58 | |||
59 | do_install_ptest () { | ||
60 | chmod +x ${D}${PTEST_PATH}/tests/utils/utils.sh | ||
61 | for i in `find ${D}${PTEST_PATH} -perm /u+x -type f`; do | ||
62 | sed -e "s:\$TESTDIR.*/src/bin/lttng/\$LTTNG_BIN:\$LTTNG_BIN:g" \ | ||
63 | -e "s:\$TESTDIR/../src/bin/lttng-sessiond/\$SESSIOND_BIN:\$SESSIOND_BIN:g" \ | ||
64 | -e "s:\$DIR/../src/bin/lttng-sessiond/\$SESSIOND_BIN:\$SESSIOND_BIN:g" \ | ||
65 | -e "s:\$TESTDIR/../src/bin/lttng-consumerd/:${libdir}/lttng/libexec/:g" \ | ||
66 | -e "s:\$DIR/../src/bin/lttng-consumerd/:${libdir}/lttng/libexec/:g" \ | ||
67 | -e "s:\$TESTDIR/../src/bin/lttng-relayd/\$RELAYD_BIN:\$RELAYD_BIN:g" \ | ||
68 | -e "s:\$DIR/../src/bin/lttng-sessiond/lttng-sessiond:\$SESSIOND_BIN:g" \ | ||
69 | -e "s:\$DIR/../src/bin/lttng-relayd/\$RELAYD_BIN:\$RELAYD_BIN:g" \ | ||
70 | -e "s:\$DIR/../bin/lttng-relayd/\$RELAYD_BIN:\$RELAYD_BIN:g" \ | ||
71 | -i $i | ||
72 | done | ||
73 | |||
74 | sed -e "s:src/bin/lttng-sessiond:$bindir:g" \ | ||
75 | -e "s:src/bin/lttng-consumerd:${libexecdir}/libexec/:g" \ | ||
76 | -i ${D}${PTEST_PATH}/tests/regression/run-report.py | ||
77 | sed -e "s:src/bin:bin:g" -e "s:lt-::g" \ | ||
78 | -i ${D}${PTEST_PATH}/tests/utils/utils.sh | ||
79 | sed -e "s:ini_config:\.libs\/ini_config:" \ | ||
80 | -i ${D}${PTEST_PATH}/tests/unit/ini_config/test_ini_config | ||
81 | } | ||