diff options
| -rw-r--r-- | meta-oe/recipes-support/libiio/libiio_0.26.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/libiio/libiio_0.26.bb b/meta-oe/recipes-support/libiio/libiio_0.26.bb index 2fcb9e02aa..99c153149c 100644 --- a/meta-oe/recipes-support/libiio/libiio_0.26.bb +++ b/meta-oe/recipes-support/libiio/libiio_0.26.bb | |||
| @@ -16,7 +16,7 @@ DEPENDS = " \ | |||
| 16 | flex-native bison-native libaio \ | 16 | flex-native bison-native libaio \ |
| 17 | " | 17 | " |
| 18 | 18 | ||
| 19 | inherit cmake python3native systemd setuptools3 pkgconfig | 19 | inherit cmake python3native systemd setuptools3 pkgconfig update-rc.d |
| 20 | 20 | ||
| 21 | EXTRA_OECMAKE = " \ | 21 | EXTRA_OECMAKE = " \ |
| 22 | -DCMAKE_BUILD_TYPE=RelWithDebInfo \ | 22 | -DCMAKE_BUILD_TYPE=RelWithDebInfo \ |
| @@ -25,6 +25,7 @@ EXTRA_OECMAKE = " \ | |||
| 25 | -DBISON_TARGET_ARG_COMPILE_FLAGS='--no-lines' \ | 25 | -DBISON_TARGET_ARG_COMPILE_FLAGS='--no-lines' \ |
| 26 | -DUDEV_RULES_INSTALL_DIR=${nonarch_base_libdir}/udev/rules.d \ | 26 | -DUDEV_RULES_INSTALL_DIR=${nonarch_base_libdir}/udev/rules.d \ |
| 27 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DWITH_SYSTEMD=ON -DSYSTEMD_UNIT_INSTALL_DIR=${systemd_system_unitdir}', '', d)} \ | 27 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DWITH_SYSTEMD=ON -DSYSTEMD_UNIT_INSTALL_DIR=${systemd_system_unitdir}', '', d)} \ |
| 28 | ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '-DWITH_SYSVINIT=on', '', d)} \ | ||
| 28 | " | 29 | " |
| 29 | 30 | ||
| 30 | PACKAGECONFIG ??= " \ | 31 | PACKAGECONFIG ??= " \ |
| @@ -59,6 +60,7 @@ FILES:${PN}-python3 = "${PYTHON_SITEPACKAGES_DIR}" | |||
| 59 | 60 | ||
| 60 | SYSTEMD_PACKAGES = "${PN}-iiod" | 61 | SYSTEMD_PACKAGES = "${PN}-iiod" |
| 61 | SYSTEMD_SERVICE:${PN}-iiod = "iiod.service" | 62 | SYSTEMD_SERVICE:${PN}-iiod = "iiod.service" |
| 63 | INITSCRIPT_NAME = "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'iiod', '', d)}" | ||
| 62 | 64 | ||
| 63 | # Explicitly define do_configure, do_compile and do_install because both cmake and setuptools3 have | 65 | # Explicitly define do_configure, do_compile and do_install because both cmake and setuptools3 have |
| 64 | # EXPORT_FUNCTIONS do_configure do_compile do_install | 66 | # EXPORT_FUNCTIONS do_configure do_compile do_install |
