Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Fornero <mfornero@mathworks.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] libiio: Disable MATLAB Bindings on Target
Date: Mon, 13 Mar 2017 15:35:02 -0400	[thread overview]
Message-ID: <1489433702-3044-1-git-send-email-mfornero@mathworks.com> (raw)

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>
---
 package/libiio/libiio.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/libiio/libiio.mk b/package/libiio/libiio.mk
index 8977610..aaa6c70 100644
--- a/package/libiio/libiio.mk
+++ b/package/libiio/libiio.mk
@@ -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
-- 
2.1.4

             reply	other threads:[~2017-03-13 19:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-13 19:35 Matthew Fornero [this message]
2017-03-14 15:05 ` [Buildroot] [PATCH] libiio: Disable MATLAB Bindings on Target Cercueil, Paul
2017-03-14 22:41 ` Thomas Petazzoni
2017-03-14 23:22   ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1489433702-3044-1-git-send-email-mfornero@mathworks.com \
    --to=mfornero@mathworks.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox