From patchwork Mon Mar 13 19:35:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Fornero X-Patchwork-Id: 738378 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vhpCC5Dy0z9s0m for ; Tue, 14 Mar 2017 06:41:27 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 25A018A002; Mon, 13 Mar 2017 19:41:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AbTHfNFrr8h5; Mon, 13 Mar 2017 19:41:22 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 07C6F89FBA; Mon, 13 Mar 2017 19:41:22 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 8570D1C02BB for ; Mon, 13 Mar 2017 19:41:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 7E0322E271 for ; Mon, 13 Mar 2017 19:41:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lXwAxENxE9+7 for ; Mon, 13 Mar 2017 19:41:19 +0000 (UTC) X-Greylist: delayed 00:05:57 by SQLgrey-1.7.6 Received: from mxsea-00-ah.mathworks.com (mxsea-00-ah.mathworks.com [144.212.100.38]) by silver.osuosl.org (Postfix) with ESMTPS id 6C0712DB6E for ; Mon, 13 Mar 2017 19:41:19 +0000 (UTC) Received: from mxsea-00-ah.mathworks.com (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id CF685194AFC_8C6F478B; Mon, 13 Mar 2017 19:35:20 +0000 (GMT) Received: from mail-vif.mathworks.com (turing.mathworks.com [144.212.95.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxsea-00-ah.mathworks.com (Sophos Email Appliance) with ESMTPS id C5785191C90_8C6F478F; Mon, 13 Mar 2017 19:35:20 +0000 (GMT) Received: from mfornero-deb8-64.mathworks.com (mfornero-deb8-64.dhcp.mathworks.com [172.31.165.136]) by mail-vif.mathworks.com (8.14.7/8.14.7) with ESMTP id v2DJZKU9001751; Mon, 13 Mar 2017 15:35:20 -0400 From: Matthew Fornero To: buildroot@buildroot.org Date: Mon, 13 Mar 2017 15:35:02 -0400 Message-Id: <1489433702-3044-1-git-send-email-mfornero@mathworks.com> X-Mailer: git-send-email 2.1.4 Cc: Matthew Fornero , Paul Cercueil Subject: [Buildroot] [PATCH] libiio: Disable MATLAB Bindings on Target X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" 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 Acked-By: Paul Cercueil --- 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