diff options
author | Ming Liu <peter.x.liu@external.atlascopco.com> | 2016-08-09 10:01:41 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-17 10:35:42 +0100 |
commit | bba1b911c86557db66af4baf7f15813f43c1ae70 (patch) | |
tree | 5e5ce8c78ccb5fbc6ca1aea4f08127ca14e2de3e /meta/recipes-kernel/lttng | |
parent | 92f505b0162f666b14208e2835c7def9f2cd4f2c (diff) | |
download | poky-bba1b911c86557db66af4baf7f15813f43c1ae70.tar.gz |
Use PYTHON_SITEPACKAGES_DIR insted of hard-coded *site-packages*
For thoese recipes that are inheriting python*-dir.bbclass, there is
already a PYTHON_SITEPACKAGES_DIR present, use that definition replacing
redundant "${libdir}/python*/site-packages".
(From OE-Core rev: e7d842673952aa4aaa141f64958bc1344dbe8210)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
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')
-rw-r--r-- | meta/recipes-kernel/lttng/lttng-tools_git.bb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-tools_git.bb b/meta/recipes-kernel/lttng/lttng-tools_git.bb index b0c369ce96..fe1e2a3167 100644 --- a/meta/recipes-kernel/lttng/lttng-tools_git.bb +++ b/meta/recipes-kernel/lttng/lttng-tools_git.bb | |||
@@ -16,8 +16,8 @@ RDEPENDS_${PN}-ptest += "make perl bash" | |||
16 | SRCREV = "a90f2c1e10b759782653a81815625e9d1bbb75ca" | 16 | SRCREV = "a90f2c1e10b759782653a81815625e9d1bbb75ca" |
17 | PV = "2.7.1+git${SRCPV}" | 17 | PV = "2.7.1+git${SRCPV}" |
18 | 18 | ||
19 | PYTHON_OPTION = "am_cv_python_pyexecdir='${libdir}/python${PYTHON_BASEVERSION}/site-packages' \ | 19 | PYTHON_OPTION = "am_cv_python_pyexecdir='${PYTHON_SITEPACKAGES_DIR}' \ |
20 | am_cv_python_pythondir='${libdir}/python${PYTHON_BASEVERSION}/site-packages' \ | 20 | am_cv_python_pythondir='${PYTHON_SITEPACKAGES_DIR}' \ |
21 | PYTHON_INCLUDE='-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}${PYTHON_ABI}' \ | 21 | PYTHON_INCLUDE='-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}${PYTHON_ABI}' \ |
22 | " | 22 | " |
23 | PACKAGECONFIG ??= "lttng-ust" | 23 | PACKAGECONFIG ??= "lttng-ust" |
@@ -39,9 +39,9 @@ USERADD_PACKAGES = "${PN}" | |||
39 | GROUPADD_PARAM_${PN} = "tracing" | 39 | GROUPADD_PARAM_${PN} = "tracing" |
40 | 40 | ||
41 | FILES_${PN} += "${libdir}/lttng/libexec/* ${datadir}/xml/lttng \ | 41 | FILES_${PN} += "${libdir}/lttng/libexec/* ${datadir}/xml/lttng \ |
42 | ${libdir}/python${PYTHON_BASEVERSION}/site-packages/*" | 42 | ${PYTHON_SITEPACKAGES_DIR}/*" |
43 | FILES_${PN}-staticdev += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*.a" | 43 | FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/*.a" |
44 | FILES_${PN}-dev += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*.la" | 44 | FILES_${PN}-dev += "${PYTHON_SITEPACKAGES_DIR}/*.la" |
45 | 45 | ||
46 | # Since files are installed into ${libdir}/lttng/libexec we match | 46 | # Since files are installed into ${libdir}/lttng/libexec we match |
47 | # the libexec insane test so skip it. | 47 | # the libexec insane test so skip it. |