libiio: explicitly disable matlab bindings
authorMatthew Fornero <mfornero@mathworks.com>
Mon, 13 Mar 2017 19:35:02 +0000 (15:35 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 14 Mar 2017 22:40:25 +0000 (23:40 +0100)
If building on a machine with MATLAB installed, the MATLAB bindings will
default to ON, which is not the desired behavior for a cross build.

The bindings are designed to be called from within MATLAB, and we are
not currently running MATLAB on buildroot-generated targets.

This does not preclude the use of the bindings from a host connecting
over the network backend (assuming libiio on the host has the bindings
enabled).

Signed-off-by: Matthew Fornero <mfornero@mathworks.com>
Acked-By: Paul Cercueil <paul.cercueil@analog.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libiio/libiio.mk

index 897761099906567c938ae9aad12b12f2f2819c64..aaa6c7060d58ec1e2ced4903f907b45cf00752ed 100644 (file)
@@ -14,6 +14,7 @@ LIBIIO_CONF_OPTS = -DENABLE_IPV6=ON \
        -DWITH_LOCAL_BACKEND=$(if $(BR2_PACKAGE_LIBIIO_LOCAL_BACKEND),ON,OFF) \
        -DWITH_NETWORK_BACKEND=$(if $(BR2_PACKAGE_LIBIIO_NETWORK_BACKEND),ON,OFF) \
        -DWITH_MATLAB_BINDINGS_API=OFF \
+       -DMATLAB_BINDINGS=OFF \
        -DINSTALL_UDEV_RULE=$(if $(BR2_PACKAGE_HAS_UDEV),ON,OFF) \
        -DWITH_TESTS=$(if $(BR2_PACKAGE_LIBIIO_TESTS),ON,OFF) \
        -DWITH_DOC=OFF