mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-12 21:12:28 +00:00
libiio: fix build of python bindins
In the actual form, the python bindings are never built since the recipe does not depend on python, thus the cmake script does not detect python and does not build the bindings. Add a summy PACKAGECONFIG for the python bindings to make it simpler to disable. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
46aa7d0608
commit
b0caf1fb82
@ -24,10 +24,11 @@ EXTRA_OECMAKE = " \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DWITH_SYSTEMD=ON -DSYSTEMD_UNIT_INSTALL_DIR=${systemd_system_unitdir}', '', d)} \
|
||||
"
|
||||
|
||||
PACKAGECONFIG ??= "USB_BACKEND NETWORK_BACKEND"
|
||||
PACKAGECONFIG ??= "USB_BACKEND NETWORK_BACKEND PYTHON_BINDINGS"
|
||||
|
||||
PACKAGECONFIG[USB_BACKEND] = "-DWITH_USB_BACKEND=ON,-DWITH_USB_BACKEND=OFF,libusb1,libxml2"
|
||||
PACKAGECONFIG[NETWORK_BACKEND] = "-DWITH_NETWORK_BACKEND=ON,-DWITH_NETWORK_BACKEND=OFF,libxml2"
|
||||
PACKAGECONFIG[PYTHON_BINDINGS] = ",,python"
|
||||
|
||||
PACKAGES =+ "${PN}-iiod ${PN}-tests ${PN}-python"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user