diff options
| author | Tim Orling <ticotimo@gmail.com> | 2024-02-19 20:10:25 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-02-19 23:22:24 -0800 |
| commit | 1e1458f98eefd57cdf94877308aed6a68a8e7def (patch) | |
| tree | c62f2c9a5a57f74a15cf4c72d5d3e9fdd76daa82 /meta-oe/recipes-support/libiio | |
| parent | 94c20e1ef4d7bd1dde1003cde25b9adb1ccc8310 (diff) | |
| download | meta-openembedded-1e1458f98eefd57cdf94877308aed6a68a8e7def.tar.gz | |
meta-oe: drop ${PYTHON_PN}
python2 is long unsupported, so we no longer need this variable
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libiio')
| -rw-r--r-- | meta-oe/recipes-support/libiio/libiio_0.25.bb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta-oe/recipes-support/libiio/libiio_0.25.bb b/meta-oe/recipes-support/libiio/libiio_0.25.bb index 3bdd445213..9f3fcc0087 100644 --- a/meta-oe/recipes-support/libiio/libiio_0.25.bb +++ b/meta-oe/recipes-support/libiio/libiio_0.25.bb | |||
| @@ -43,19 +43,19 @@ PACKAGECONFIG[xml_backend] = "-DWITH_XML_BACKEND=ON,${XML_BACKEND_DISABLE},libxm | |||
| 43 | PACKAGECONFIG[dnssd] = "-DHAVE_DNS_SD=ON,-DHAVE_DNS_SD=off,avahi" | 43 | PACKAGECONFIG[dnssd] = "-DHAVE_DNS_SD=ON,-DHAVE_DNS_SD=off,avahi" |
| 44 | PACKAGECONFIG[libiio-python3] = "-DPYTHON_BINDINGS=ON,-DPYTHON_BINDINGS=OFF" | 44 | PACKAGECONFIG[libiio-python3] = "-DPYTHON_BINDINGS=ON,-DPYTHON_BINDINGS=OFF" |
| 45 | 45 | ||
| 46 | PACKAGES =+ "${PN}-iiod ${PN}-tests ${PN}-${PYTHON_PN}" | 46 | PACKAGES =+ "${PN}-iiod ${PN}-tests ${PN}-python3" |
| 47 | 47 | ||
| 48 | # Inheriting setuptools3 incorrectly adds the dependency on ${PYTHON_PN}-core | 48 | # Inheriting setuptools3 incorrectly adds the dependency on python3-core |
| 49 | # to ${PN} instead of to ${PN}-${PYTHON_PN} where it belongs. | 49 | # to ${PN} instead of to ${PN}-python3 where it belongs. |
| 50 | RDEPENDS:${PN}:remove = "${PYTHON_PN}-core" | 50 | RDEPENDS:${PN}:remove = "python3-core" |
| 51 | RDEPENDS:${PN}-${PYTHON_PN} = "${PN} ${PYTHON_PN}-core ${PYTHON_PN}-ctypes ${PYTHON_PN}-stringold" | 51 | RDEPENDS:${PN}-python3 = "${PN} python3-core python3-ctypes python3-stringold" |
| 52 | 52 | ||
| 53 | FILES:${PN}-iiod = " \ | 53 | FILES:${PN}-iiod = " \ |
| 54 | ${sbindir}/iiod \ | 54 | ${sbindir}/iiod \ |
| 55 | ${systemd_system_unitdir}/iiod.service \ | 55 | ${systemd_system_unitdir}/iiod.service \ |
| 56 | " | 56 | " |
| 57 | FILES:${PN}-tests = "${bindir}" | 57 | FILES:${PN}-tests = "${bindir}" |
| 58 | FILES:${PN}-${PYTHON_PN} = "${PYTHON_SITEPACKAGES_DIR}" | 58 | FILES:${PN}-python3 = "${PYTHON_SITEPACKAGES_DIR}" |
| 59 | 59 | ||
| 60 | SYSTEMD_PACKAGES = "${PN}-iiod" | 60 | SYSTEMD_PACKAGES = "${PN}-iiod" |
| 61 | SYSTEMD_SERVICE:${PN}-iiod = "iiod.service" | 61 | SYSTEMD_SERVICE:${PN}-iiod = "iiod.service" |
