summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/lttng/lttng-ust_2.12.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/lttng/lttng-ust_2.12.2.bb')
-rw-r--r--meta/recipes-kernel/lttng/lttng-ust_2.12.2.bb16
1 files changed, 8 insertions, 8 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-ust_2.12.2.bb b/meta/recipes-kernel/lttng/lttng-ust_2.12.2.bb
index e340ff3460..54a473d2cb 100644
--- a/meta/recipes-kernel/lttng/lttng-ust_2.12.2.bb
+++ b/meta/recipes-kernel/lttng/lttng-ust_2.12.2.bb
@@ -20,12 +20,12 @@ include lttng-platforms.inc
20EXTRA_OECONF = "--disable-numa" 20EXTRA_OECONF = "--disable-numa"
21 21
22DEPENDS = "liburcu util-linux" 22DEPENDS = "liburcu util-linux"
23RDEPENDS_${PN}-bin = "python3-core" 23RDEPENDS:${PN}-bin = "python3-core"
24 24
25# For backwards compatibility after rename 25# For backwards compatibility after rename
26RPROVIDES_${PN} = "lttng2-ust" 26RPROVIDES:${PN} = "lttng2-ust"
27RREPLACES_${PN} = "lttng2-ust" 27RREPLACES:${PN} = "lttng2-ust"
28RCONFLICTS_${PN} = "lttng2-ust" 28RCONFLICTS:${PN} = "lttng2-ust"
29 29
30PE = "2" 30PE = "2"
31 31
@@ -41,11 +41,11 @@ PACKAGECONFIG[examples] = "--enable-examples, --disable-examples,"
41PACKAGECONFIG[manpages] = "--enable-man-pages, --disable-man-pages, asciidoc-native xmlto-native libxslt-native" 41PACKAGECONFIG[manpages] = "--enable-man-pages, --disable-man-pages, asciidoc-native xmlto-native libxslt-native"
42PACKAGECONFIG[python3-agent] = "--enable-python-agent ${PYTHON_OPTION}, --disable-python-agent, python3, python3" 42PACKAGECONFIG[python3-agent] = "--enable-python-agent ${PYTHON_OPTION}, --disable-python-agent, python3, python3"
43 43
44FILES_${PN} += " ${PYTHON_SITEPACKAGES_DIR}/*" 44FILES:${PN} += " ${PYTHON_SITEPACKAGES_DIR}/*"
45FILES_${PN}-staticdev += " ${PYTHON_SITEPACKAGES_DIR}/*.a" 45FILES:${PN}-staticdev += " ${PYTHON_SITEPACKAGES_DIR}/*.a"
46FILES_${PN}-dev += " ${PYTHON_SITEPACKAGES_DIR}/*.la" 46FILES:${PN}-dev += " ${PYTHON_SITEPACKAGES_DIR}/*.la"
47 47
48do_install_append() { 48do_install:append() {
49 # Patch python tools to use Python 3; they should be source compatible, but 49 # Patch python tools to use Python 3; they should be source compatible, but
50 # still refer to Python 2 in the shebang 50 # still refer to Python 2 in the shebang
51 sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${bindir}/lttng-gen-tp 51 sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${bindir}/lttng-gen-tp