diff options
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.bb | 16 |
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 | |||
20 | EXTRA_OECONF = "--disable-numa" | 20 | EXTRA_OECONF = "--disable-numa" |
21 | 21 | ||
22 | DEPENDS = "liburcu util-linux" | 22 | DEPENDS = "liburcu util-linux" |
23 | RDEPENDS_${PN}-bin = "python3-core" | 23 | RDEPENDS:${PN}-bin = "python3-core" |
24 | 24 | ||
25 | # For backwards compatibility after rename | 25 | # For backwards compatibility after rename |
26 | RPROVIDES_${PN} = "lttng2-ust" | 26 | RPROVIDES:${PN} = "lttng2-ust" |
27 | RREPLACES_${PN} = "lttng2-ust" | 27 | RREPLACES:${PN} = "lttng2-ust" |
28 | RCONFLICTS_${PN} = "lttng2-ust" | 28 | RCONFLICTS:${PN} = "lttng2-ust" |
29 | 29 | ||
30 | PE = "2" | 30 | PE = "2" |
31 | 31 | ||
@@ -41,11 +41,11 @@ PACKAGECONFIG[examples] = "--enable-examples, --disable-examples," | |||
41 | PACKAGECONFIG[manpages] = "--enable-man-pages, --disable-man-pages, asciidoc-native xmlto-native libxslt-native" | 41 | PACKAGECONFIG[manpages] = "--enable-man-pages, --disable-man-pages, asciidoc-native xmlto-native libxslt-native" |
42 | PACKAGECONFIG[python3-agent] = "--enable-python-agent ${PYTHON_OPTION}, --disable-python-agent, python3, python3" | 42 | PACKAGECONFIG[python3-agent] = "--enable-python-agent ${PYTHON_OPTION}, --disable-python-agent, python3, python3" |
43 | 43 | ||
44 | FILES_${PN} += " ${PYTHON_SITEPACKAGES_DIR}/*" | 44 | FILES:${PN} += " ${PYTHON_SITEPACKAGES_DIR}/*" |
45 | FILES_${PN}-staticdev += " ${PYTHON_SITEPACKAGES_DIR}/*.a" | 45 | FILES:${PN}-staticdev += " ${PYTHON_SITEPACKAGES_DIR}/*.a" |
46 | FILES_${PN}-dev += " ${PYTHON_SITEPACKAGES_DIR}/*.la" | 46 | FILES:${PN}-dev += " ${PYTHON_SITEPACKAGES_DIR}/*.la" |
47 | 47 | ||
48 | do_install_append() { | 48 | do_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 |