diff options
| author | Paul Woegerer <paul_woegerer@mentor.com> | 2013-11-14 13:34:34 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-20 14:03:26 +0000 |
| commit | 7ef7e55180a9164bea860ab626d02a5df75f1727 (patch) | |
| tree | 2c014589042a1af2683a95e917250cba3f3003bf /meta/recipes-kernel/lttng/lttng-tools_2.3.1.bb | |
| parent | ea7aba758db93fedd6e38e7291b14bb5cbbd3f1b (diff) | |
| download | poky-7ef7e55180a9164bea860ab626d02a5df75f1727.tar.gz | |
lttng-tools: Update to version 2.3.1
(From OE-Core rev: 7719162d69e71fa59faff81f5f94f23b9d6d056a)
Signed-off-by: Paul Woegerer <paul_woegerer@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/lttng/lttng-tools_2.3.1.bb')
| -rw-r--r-- | meta/recipes-kernel/lttng/lttng-tools_2.3.1.bb | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.3.1.bb b/meta/recipes-kernel/lttng/lttng-tools_2.3.1.bb new file mode 100644 index 0000000000..2f6e5048c2 --- /dev/null +++ b/meta/recipes-kernel/lttng/lttng-tools_2.3.1.bb | |||
| @@ -0,0 +1,59 @@ | |||
| 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" | ||
| 13 | RDEPENDS_${PN}-ptest += "make" | ||
| 14 | |||
| 15 | SRCREV = "5d985544a7ad54afa0514ea7f522a89d8d844860" | ||
| 16 | PV = "v2.3.1" | ||
| 17 | |||
| 18 | SRC_URI = "git://git.lttng.org/lttng-tools.git \ | ||
| 19 | file://runtest.patch \ | ||
| 20 | file://run-ptest \ | ||
| 21 | " | ||
| 22 | |||
| 23 | S = "${WORKDIR}/git" | ||
| 24 | |||
| 25 | inherit autotools ptest | ||
| 26 | |||
| 27 | export KERNELDIR="${STAGING_KERNEL_DIR}" | ||
| 28 | |||
| 29 | FILES_${PN} += "${libdir}/lttng/libexec/*" | ||
| 30 | FILES_${PN}-dbg += "${libdir}/lttng/libexec/.debug" | ||
| 31 | |||
| 32 | # Since files are installed into ${libdir}/lttng/libexec we match | ||
| 33 | # the libexec insane test so skip it. | ||
| 34 | INSANE_SKIP_${PN} = "libexec" | ||
| 35 | INSANE_SKIP_${PN}-dbg = "libexec" | ||
| 36 | |||
| 37 | |||
| 38 | do_install_ptest () { | ||
| 39 | chmod +x ${D}/${libdir}/${PN}/ptest/tests/utils/utils.sh | ||
| 40 | for i in `find ${D}/${libdir}/${PN}/ptest -perm /u+x -type f`; do | ||
| 41 | sed -e "s:\$TESTDIR.*/src/bin/lttng/\$LTTNG_BIN:\$LTTNG_BIN:g" \ | ||
| 42 | -e "s:\$TESTDIR/../src/bin/lttng-sessiond/\$SESSIOND_BIN:\$SESSIOND_BIN:g" \ | ||
| 43 | -e "s:\$DIR/../src/bin/lttng-sessiond/\$SESSIOND_BIN:\$SESSIOND_BIN:g" \ | ||
| 44 | -e "s:\$TESTDIR/../src/bin/lttng-consumerd/:${libdir}/lttng/libexec/:g" \ | ||
| 45 | -e "s:\$DIR/../src/bin/lttng-consumerd/:${libdir}/lttng/libexec/:g" \ | ||
| 46 | -e "s:\$TESTDIR/../src/bin/lttng-relayd/\$RELAYD_BIN:\$RELAYD_BIN:g" \ | ||
| 47 | -e "s:\$DIR/../src/bin/lttng-sessiond/lttng-sessiond:\$SESSIOND_BIN:g" \ | ||
| 48 | -e "s:\$DIR/../src/bin/lttng-relayd/\$RELAYD_BIN:\$RELAYD_BIN:g" \ | ||
| 49 | -e "s:\$DIR/../bin/lttng-relayd/\$RELAYD_BIN:\$RELAYD_BIN:g" \ | ||
| 50 | -i $i | ||
| 51 | done | ||
| 52 | |||
| 53 | sed -e "s:src/bin/lttng-sessiond:$bindir:g" \ | ||
| 54 | -e "s:src/bin/lttng-consumerd:${libexecdir}/libexec/:g" \ | ||
| 55 | -i ${D}/${libdir}/${PN}/ptest/tests/regression/run-report.py | ||
| 56 | sed -e "s:src/bin:bin:g" \ | ||
| 57 | -i ${D}/${libdir}/${PN}/ptest/tests/utils/utils.sh | ||
| 58 | |||
| 59 | } | ||
