From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 6556BA0096 for ; Wed, 5 Jun 2019 22:23:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6FE541B9CF; Wed, 5 Jun 2019 22:23:15 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 628D81B9C9 for ; Wed, 5 Jun 2019 22:23:13 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Jun 2019 13:23:13 -0700 X-ExtLoop1: 1 Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.223.2]) by orsmga008.jf.intel.com with ESMTP; 05 Jun 2019 13:23:11 -0700 From: Bruce Richardson To: bluca@debian.org, thomas@monjalon.net Cc: dev@dpdk.org, john.mcnamara@intel.com, Bruce Richardson Date: Wed, 5 Jun 2019 21:22:42 +0100 Message-Id: <20190605202248.394-5-bruce.richardson@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190605202248.394-1-bruce.richardson@intel.com> References: <20190605202248.394-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 04/10] drivers/common: add reasons for components being disabled X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" For each driver where we optionally disable it, add in the reason why it's being disabled, so the user knows how to fix it. Signed-off-by: Bruce Richardson --- drivers/common/dpaax/meson.build | 3 ++- drivers/common/mvep/meson.build | 1 + drivers/common/qat/meson.build | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/common/dpaax/meson.build b/drivers/common/dpaax/meson.build index 78378e2a6..a315e7786 100644 --- a/drivers/common/dpaax/meson.build +++ b/drivers/common/dpaax/meson.build @@ -4,7 +4,8 @@ allow_experimental_apis = true if not is_linux - build = false + build = false + reason = 'only supported on linux' endif sources = files('dpaax_iova_table.c') diff --git a/drivers/common/mvep/meson.build b/drivers/common/mvep/meson.build index 8ccfacb3f..8df4bc6e0 100644 --- a/drivers/common/mvep/meson.build +++ b/drivers/common/mvep/meson.build @@ -10,6 +10,7 @@ inc_dir = path + '/include' lib = cc.find_library('libmusdk', dirs: [lib_dir], required: false) if not lib.found() build = false + reason = 'missing dependency, "libmusdk"' else ext_deps += lib includes += include_directories(inc_dir) diff --git a/drivers/common/qat/meson.build b/drivers/common/qat/meson.build index 80b6b25a8..8de249289 100644 --- a/drivers/common/qat/meson.build +++ b/drivers/common/qat/meson.build @@ -4,6 +4,7 @@ # This does not build a driver, but instead holds common files for # the crypto and compression drivers. build = false +reason = '' # sentinal value to suppress printout qat_deps = ['bus_pci'] qat_sources = files('qat_common.c', 'qat_qp.c', -- 2.21.0