From patchwork Wed Jan 31 17:42:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 34792 X-Patchwork-Delegate: bruce.richardson@intel.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 081BF1B80C; Wed, 31 Jan 2018 18:43:26 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id E85661B80D for ; Wed, 31 Jan 2018 18:43:24 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Jan 2018 09:43:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,441,1511856000"; d="scan'208";a="200165678" Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.223.223]) by fmsmga005.fm.intel.com with ESMTP; 31 Jan 2018 09:43:23 -0800 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Date: Wed, 31 Jan 2018 17:42:47 +0000 Message-Id: <20180131174249.257933-5-bruce.richardson@intel.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180131174249.257933-1-bruce.richardson@intel.com> References: <20180131174249.257933-1-bruce.richardson@intel.com> Subject: [dpdk-dev] [PATCH 4/6] test/test: fix dependency on power lib for BSD meson build 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" The power library is not built on FreeBSD, so it needs to be an optional rather than a mandatory dependency for building the autotest binary. Fixes: b5dc795a8a55 ("test: build app with meson as dpdk-test") Signed-off-by: Bruce Richardson --- test/test/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test/meson.build b/test/test/meson.build index 2457a2adb..e8ddb76e3 100644 --- a/test/test/meson.build +++ b/test/test/meson.build @@ -111,7 +111,6 @@ test_deps = ['acl', 'member', 'pipeline', 'port', - 'power', 'reorder', 'ring', 'timer' @@ -228,6 +227,9 @@ endif if dpdk_conf.has('RTE_LIBRTE_RING_PMD') test_deps += 'pmd_ring' endif +if dpdk_conf.has('RTE_LIBRTE_POWER') + test_deps += 'power' +endif test_dep_objs = [] foreach d:test_deps