diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-20 12:22:01 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-21 22:20:10 +0000 |
commit | 6f4ca08aa3b907af53a160c5904dbef5979b5759 (patch) | |
tree | 3872724f5702bde2550c39aeb230401b4ec50762 /meta/recipes-kernel/lttng/lttng-ust_2.13.7.bb | |
parent | dd52201fd308a5c449e7ccf0eeabdc3654a2ad24 (diff) | |
download | poky-6f4ca08aa3b907af53a160c5904dbef5979b5759.tar.gz |
lttng-ust: Upgrade 2.13.6 -> 2.13.7
Update one of the patches to account for upstream changes.
(From OE-Core rev: e0ec2f9358be0e8b5979e534ae3a266b138cc172)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/lttng/lttng-ust_2.13.7.bb')
-rw-r--r-- | meta/recipes-kernel/lttng/lttng-ust_2.13.7.bb | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-ust_2.13.7.bb b/meta/recipes-kernel/lttng/lttng-ust_2.13.7.bb new file mode 100644 index 0000000000..9509185bad --- /dev/null +++ b/meta/recipes-kernel/lttng/lttng-ust_2.13.7.bb | |||
@@ -0,0 +1,53 @@ | |||
1 | SUMMARY = "Linux Trace Toolkit Userspace Tracer 2.x" | ||
2 | DESCRIPTION = "The LTTng UST 2.x package contains the userspace tracer library to trace userspace codes." | ||
3 | HOMEPAGE = "http://lttng.org/ust" | ||
4 | BUGTRACKER = "https://bugs.lttng.org/projects/lttng-ust" | ||
5 | |||
6 | LICENSE = "LGPL-2.1-or-later & MIT & GPL-2.0-only" | ||
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a46577a38ad0c36ff6ff43ccf40c480f" | ||
8 | |||
9 | PYTHON_OPTION = "am_cv_python_pyexecdir='${PYTHON_SITEPACKAGES_DIR}' \ | ||
10 | am_cv_python_pythondir='${PYTHON_SITEPACKAGES_DIR}' \ | ||
11 | PYTHON_INCLUDE='-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}${PYTHON_ABI}' \ | ||
12 | " | ||
13 | |||
14 | inherit autotools lib_package manpages python3native pkgconfig | ||
15 | |||
16 | include lttng-platforms.inc | ||
17 | |||
18 | EXTRA_OECONF = "--disable-numa" | ||
19 | CPPFLAGS:append:arm = "${@oe.utils.vartrue('DEBUG_BUILD', '-DUATOMIC_NO_LINK_ERROR', '', d)}" | ||
20 | |||
21 | DEPENDS = "liburcu util-linux" | ||
22 | RDEPENDS:${PN}-bin = "python3-core" | ||
23 | |||
24 | # For backwards compatibility after rename | ||
25 | RPROVIDES:${PN} = "lttng2-ust" | ||
26 | RREPLACES:${PN} = "lttng2-ust" | ||
27 | RCONFLICTS:${PN} = "lttng2-ust" | ||
28 | |||
29 | PE = "2" | ||
30 | |||
31 | SRC_URI = "https://lttng.org/files/lttng-ust/lttng-ust-${PV}.tar.bz2 \ | ||
32 | file://0001-python-lttngust-Makefile.am-Add-install-lib-to-setup.patch \ | ||
33 | file://0001-lttng-ust-common-link-with-liburcu-explicitly.patch \ | ||
34 | file://0001-Makefile.am-update-rpath-link.patch \ | ||
35 | " | ||
36 | |||
37 | SRC_URI[sha256sum] = "5fb4f17c307c8c1b79c68561e89be9562d07e7425bf40e728c4d66755342a5eb" | ||
38 | |||
39 | CVE_PRODUCT = "ust" | ||
40 | |||
41 | PACKAGECONFIG[examples] = "--enable-examples, --disable-examples," | ||
42 | PACKAGECONFIG[manpages] = "--enable-man-pages, --disable-man-pages, asciidoc-native xmlto-native libxslt-native" | ||
43 | PACKAGECONFIG[python3-agent] = "--enable-python-agent ${PYTHON_OPTION}, --disable-python-agent, python3, python3" | ||
44 | |||
45 | FILES:${PN} += " ${PYTHON_SITEPACKAGES_DIR}/*" | ||
46 | FILES:${PN}-staticdev += " ${PYTHON_SITEPACKAGES_DIR}/*.a" | ||
47 | FILES:${PN}-dev += " ${PYTHON_SITEPACKAGES_DIR}/*.la" | ||
48 | |||
49 | do_install:append() { | ||
50 | # Patch python tools to use Python 3; they should be source compatible, but | ||
51 | # still refer to Python 2 in the shebang | ||
52 | sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${bindir}/lttng-gen-tp | ||
53 | } | ||