diff options
author | Nuno Sá <nuno.sa@analog.com> | 2021-05-17 14:37:29 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-05-17 09:00:36 -0700 |
commit | 31c3d5288885eab31d9afe34ad9e5130ce006788 (patch) | |
tree | 01fd95d271fc362d6a76076df0b39872bc650c9e /meta-oe/recipes-support/libiio | |
parent | 491249e48cdce4b2c43de265a41a1091f1959bb9 (diff) | |
download | meta-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.bb | 3 |
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 | ||
30 | PACKAGECONFIG ??= "usb_backend network_backend" | 30 | PACKAGECONFIG ??= "usb_backend network_backend serial_backend" |
31 | 31 | ||
32 | PACKAGECONFIG[usb_backend] = "-DWITH_USB_BACKEND=ON,-DWITH_USB_BACKEND=OFF,libusb1,libxml2" | 32 | PACKAGECONFIG[usb_backend] = "-DWITH_USB_BACKEND=ON,-DWITH_USB_BACKEND=OFF,libusb1,libxml2" |
33 | PACKAGECONFIG[network_backend] = "-DWITH_NETWORK_BACKEND=ON,-DWITH_NETWORK_BACKEND=OFF,libxml2" | 33 | PACKAGECONFIG[network_backend] = "-DWITH_NETWORK_BACKEND=ON,-DWITH_NETWORK_BACKEND=OFF,libxml2" |
34 | PACKAGECONFIG[serial_backend] = "-DWITH_SERIAL_BACKEND=ON,-DWITH_SERIAL_BACKEND=off,libserialport libxml2" | ||
34 | PACKAGECONFIG[libiio-python3] = "-DPYTHON_BINDINGS=ON,-DPYTHON_BINDINGS=OFF" | 35 | PACKAGECONFIG[libiio-python3] = "-DPYTHON_BINDINGS=ON,-DPYTHON_BINDINGS=OFF" |
35 | 36 | ||
36 | PACKAGES =+ "${PN}-iiod ${PN}-tests ${PN}-${PYTHON_PN}" | 37 | PACKAGES =+ "${PN}-iiod ${PN}-tests ${PN}-${PYTHON_PN}" |