diff options
author | alperak <alperyasinak1@gmail.com> | 2024-04-15 21:19:59 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-04-15 21:01:20 -0700 |
commit | d3a16ad4aec3f496484295bbdb1f3d661911e69b (patch) | |
tree | cea9caac7daf724c9db9d143ecaf9b1e31337cfd /meta-oe/recipes-support | |
parent | fd208c871429fdd331ecc3bf3b59e975e680b7ff (diff) | |
download | meta-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.bb | 10 | ||||
-rw-r--r-- | meta-oe/recipes-support/libftdi/libftdi_1.5.bb | 2 |
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 | ||
49 | FILES:${PN} += " \ | 49 | FILES:${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 | ||
55 | FILES:${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/.debug" | 55 | FILES:${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/.debug" |
56 | 56 | ||
57 | FILES:${PN}-dev += "${libdir}/${PYTHON_DIR}/site-packages/_*.la" | 57 | FILES:${PN}-dev += "${PYTHON_SITEPACKAGES_DIR}/_*.la" |
58 | 58 | ||
59 | FILES:${PN}-staticdev += "${libdir}/${PYTHON_DIR}/site-packages/_*.a" | 59 | FILES:${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" | |||
37 | PACKAGES =+ "${PN}-python ftdi-eeprom" | 37 | PACKAGES =+ "${PN}-python ftdi-eeprom" |
38 | 38 | ||
39 | FILES:ftdi-eeprom = "${bindir}/ftdi_eeprom" | 39 | FILES:ftdi-eeprom = "${bindir}/ftdi_eeprom" |
40 | FILES:${PN}-python = "${libdir}/${PYTHON_DIR}/site-packages/" | 40 | FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/" |