summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libiio
diff options
context:
space:
mode:
authorNuno Sá <nuno.sa@analog.com>2021-05-17 14:37:29 +0200
committerKhem Raj <raj.khem@gmail.com>2021-05-17 09:00:36 -0700
commit31c3d5288885eab31d9afe34ad9e5130ce006788 (patch)
tree01fd95d271fc362d6a76076df0b39872bc650c9e /meta-oe/recipes-support/libiio
parent491249e48cdce4b2c43de265a41a1091f1959bb9 (diff)
downloadmeta-openembedded-31c3d5288885eab31d9afe34ad9e5130ce006788.tar.gz
libiio: add serial backend support
This patch adds the serial backend to the PACKAGECONFIG list. Signed-off-by: Nuno Sá <nuno.sa@analog.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_git.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/libiio/libiio_git.bb b/meta-oe/recipes-support/libiio/libiio_git.bb
index 00c016db4..894641ea2 100644
--- a/meta-oe/recipes-support/libiio/libiio_git.bb
+++ b/meta-oe/recipes-support/libiio/libiio_git.bb
@@ -27,10 +27,11 @@ EXTRA_OECMAKE = " \
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" 28"
29 29
30PACKAGECONFIG ??= "usb_backend network_backend" 30PACKAGECONFIG ??= "usb_backend network_backend serial_backend"
31 31
32PACKAGECONFIG[usb_backend] = "-DWITH_USB_BACKEND=ON,-DWITH_USB_BACKEND=OFF,libusb1,libxml2" 32PACKAGECONFIG[usb_backend] = "-DWITH_USB_BACKEND=ON,-DWITH_USB_BACKEND=OFF,libusb1,libxml2"
33PACKAGECONFIG[network_backend] = "-DWITH_NETWORK_BACKEND=ON,-DWITH_NETWORK_BACKEND=OFF,libxml2" 33PACKAGECONFIG[network_backend] = "-DWITH_NETWORK_BACKEND=ON,-DWITH_NETWORK_BACKEND=OFF,libxml2"
34PACKAGECONFIG[serial_backend] = "-DWITH_SERIAL_BACKEND=ON,-DWITH_SERIAL_BACKEND=off,libserialport libxml2"
34PACKAGECONFIG[libiio-python3] = "-DPYTHON_BINDINGS=ON,-DPYTHON_BINDINGS=OFF" 35PACKAGECONFIG[libiio-python3] = "-DPYTHON_BINDINGS=ON,-DPYTHON_BINDINGS=OFF"
35 36
36PACKAGES =+ "${PN}-iiod ${PN}-tests ${PN}-${PYTHON_PN}" 37PACKAGES =+ "${PN}-iiod ${PN}-tests ${PN}-${PYTHON_PN}"