summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
diff options
context:
space:
mode:
authoralperak <alperyasinak1@gmail.com>2024-04-15 21:19:59 +0300
committerKhem Raj <raj.khem@gmail.com>2024-04-15 21:01:20 -0700
commitd3a16ad4aec3f496484295bbdb1f3d661911e69b (patch)
treecea9caac7daf724c9db9d143ecaf9b1e31337cfd /meta-oe/recipes-support
parentfd208c871429fdd331ecc3bf3b59e975e680b7ff (diff)
downloadmeta-openembedded-d3a16ad4aec3f496484295bbdb1f3d661911e69b.tar.gz
Use PYTHON_SITEPACKAGES_DIR instead of hard-coded site-packages directory path
The following paths have been replaced with PYTHON_SITEPACKAGES_DIR: - "${libdir}/${PYTHON_DIR}/site-packages" - "${libdir}/python${PYTHON_BASEVERSION}/site-packages" - "${libdir}/python*/site-packages" - "${libdir}/python3.*/site-packages" Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r--meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb10
-rw-r--r--meta-oe/recipes-support/libftdi/libftdi_1.5.bb2
2 files changed, 6 insertions, 6 deletions
diff --git a/meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb b/meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb
index aa595ebe5..139649b97 100644
--- a/meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb
+++ b/meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb
@@ -48,12 +48,12 @@ RDEPENDS:${PN}-bin = " \
48 48
49FILES:${PN} += " \ 49FILES:${PN} += " \
50 ${datadir}/geisview \ 50 ${datadir}/geisview \
51 ${libdir}/${PYTHON_DIR}/site-packages/geis* \ 51 ${PYTHON_SITEPACKAGES_DIR}/geis* \
52 ${libdir}/${PYTHON_DIR}/site-packages/_*.so \ 52 ${PYTHON_SITEPACKAGES_DIR}/_*.so \
53" 53"
54 54
55FILES:${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/.debug" 55FILES:${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/.debug"
56 56
57FILES:${PN}-dev += "${libdir}/${PYTHON_DIR}/site-packages/_*.la" 57FILES:${PN}-dev += "${PYTHON_SITEPACKAGES_DIR}/_*.la"
58 58
59FILES:${PN}-staticdev += "${libdir}/${PYTHON_DIR}/site-packages/_*.a" 59FILES:${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/_*.a"
diff --git a/meta-oe/recipes-support/libftdi/libftdi_1.5.bb b/meta-oe/recipes-support/libftdi/libftdi_1.5.bb
index 7f0cfa237..eae1c02f0 100644
--- a/meta-oe/recipes-support/libftdi/libftdi_1.5.bb
+++ b/meta-oe/recipes-support/libftdi/libftdi_1.5.bb
@@ -37,4 +37,4 @@ BBCLASSEXTEND = "native nativesdk"
37PACKAGES =+ "${PN}-python ftdi-eeprom" 37PACKAGES =+ "${PN}-python ftdi-eeprom"
38 38
39FILES:ftdi-eeprom = "${bindir}/ftdi_eeprom" 39FILES:ftdi-eeprom = "${bindir}/ftdi_eeprom"
40FILES:${PN}-python = "${libdir}/${PYTHON_DIR}/site-packages/" 40FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/"