From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 21716A0471
	for <public@inbox.dpdk.org>; Tue, 13 Aug 2019 01:04:30 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id B306D1BE8C;
	Tue, 13 Aug 2019 01:04:16 +0200 (CEST)
Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com
 [64.147.123.24]) by dpdk.org (Postfix) with ESMTP id 1D2E0DE3
 for <dev@dpdk.org>; Tue, 13 Aug 2019 01:04:15 +0200 (CEST)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.west.internal (Postfix) with ESMTP id ECCB7483;
 Mon, 12 Aug 2019 19:04:13 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute1.internal (MEProxy); Mon, 12 Aug 2019 19:04:14 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 from:to:cc:subject:date:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding; s=mesmtp; bh=Fqca7VRO/y
 60KRv98B/kcjlqnUxjIHAGKwiUp6Plns4=; b=Az9dt8uUrr2qgfARtuyxQHjcgn
 q0aAbOMw/qCkt5bYHAT5ngvmydtdvrNInI8LpXu43e9PDRa1nAMQSfEYbqjmwuYL
 VXqAPmA3w6hz609IobsADro4SV8IWwY79o+1BWa0u/gG+vMcoCAMni0US+d6YLVQ
 dp/tI4G+0JjG7B1yE=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:date:from
 :in-reply-to:message-id:mime-version:references:subject:to
 :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=
 fm3; bh=Fqca7VRO/y60KRv98B/kcjlqnUxjIHAGKwiUp6Plns4=; b=cb6zjZIc
 pa6KWqNQn5cVhxgZ3QdbNk/PJS5xYybL4iGTXEBElB5ltn37JZOkrhQW3lbmSd7q
 zo2FG9y/TUZdP9YQ/Bb9ceiqI3OHk6b7duRKdL3dB3fnhKdtLbDWJePU0FlSBc/g
 jnUPLlSek5icy6q5YScjt1i66dZ1uKlcTGdrrrdd1AI8oYHRLY0tPx7d1Uf4rZxC
 aJZ8EqvF25dQk5EMA7t/4vMPlAQC39qfU45jZg7jaAgVghw4+CDHVnQoc+5p/wQN
 lJ+No2BOQV1m7SgGeRHjeenoO7SG+2YuaRlDoH9PMi02t2DOJ9StTkxCRw3sYBmI
 /lDxCTaUt3QhFw==
X-ME-Sender: <xms:bfBRXSbE6kGfn0ud4E2pN4bh4GLLONAyF2YGNWn-_-iHA5awcqnBkA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddruddvhedgudelucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgr
 shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf
 hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh
 ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt
X-ME-Proxy: <xmx:bfBRXSy5sSmRAo-j_0omWF8ycJLfLYieJpJZnXx63YQFA_NZTcb1Yw>
 <xmx:bfBRXb2r286yW5litpRpBS264q_fB529afQiSo3sWsAi8UaRU3iuUw>
 <xmx:bfBRXd3-pD8qQpXg3HBAi98nvlQdbGhtgtXH7Py0HbF5rk96pKzhiQ>
 <xmx:bfBRXWa68u8ju6muVXqKWnWYizp2xs31jz_bF09uaDNlgzqemVxL3Q>
Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id CA41380062;
 Mon, 12 Aug 2019 19:04:12 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: bruce.richardson@intel.com, Nicolas Chautru <nicolas.chautru@intel.com>,
 Jakub Grajciar <jgrajcia@cisco.com>
Cc: dev@dpdk.org
Date: Tue, 13 Aug 2019 01:03:54 +0200
Message-Id: <20190812230358.988-3-thomas@monjalon.net>
X-Mailer: git-send-email 2.22.0
In-Reply-To: <20190812230358.988-1-thomas@monjalon.net>
References: <20190812230358.988-1-thomas@monjalon.net>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Subject: [dpdk-dev] [PATCH 2/6] drivers: add some reasons for meson disabling
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

Some drivers were missing reasons text for their disabling in meson.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
 drivers/baseband/turbo_sw/meson.build | 1 +
 drivers/net/memif/meson.build         | 5 +++--
 drivers/raw/ioat/meson.build          | 1 +
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/drivers/baseband/turbo_sw/meson.build b/drivers/baseband/turbo_sw/meson.build
index 33345aa01..1a1f7c9a9 100644
--- a/drivers/baseband/turbo_sw/meson.build
+++ b/drivers/baseband/turbo_sw/meson.build
@@ -7,6 +7,7 @@ if dpdk_conf.has('RTE_BBDEV_SDK_AVX2')
 	lib = cc.find_library('libturbo', dirs: [path + '/lib_turbo'], required: false)
 	if not lib.found()
 		build = false
+		reason = 'missing dependency, "libturbo"'
 	else
 		ext_deps += cc.find_library('libturbo', dirs: [path + '/lib_turbo'], required: true)
 		ext_deps += cc.find_library('libcrc', dirs: [path + '/lib_crc'], required: true)
diff --git a/drivers/net/memif/meson.build b/drivers/net/memif/meson.build
index bedc97311..a44d82535 100644
--- a/drivers/net/memif/meson.build
+++ b/drivers/net/memif/meson.build
@@ -1,8 +1,9 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright 2018-2019 Cisco Systems, Inc.  All rights reserved.
 
-if host_machine.system() != 'linux'
-        build = false
+if not is_linux
+	build = false
+	reason = 'only supported on Linux'
 endif
 
 sources = files('rte_eth_memif.c',
diff --git a/drivers/raw/ioat/meson.build b/drivers/raw/ioat/meson.build
index 247ff88bf..0878418ae 100644
--- a/drivers/raw/ioat/meson.build
+++ b/drivers/raw/ioat/meson.build
@@ -2,6 +2,7 @@
 # Copyright 2019 Intel Corporation
 
 build = dpdk_conf.has('RTE_ARCH_X86')
+reason = 'only supported on x86'
 sources = files('ioat_rawdev.c',
 		'ioat_rawdev_test.c')
 deps += ['rawdev', 'bus_pci', 'mbuf']
-- 
2.22.0