From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 890D31E33 for ; Thu, 1 Feb 2018 15:20:50 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Feb 2018 06:20:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,444,1511856000"; d="scan'208";a="200553826" Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.223.223]) by fmsmga006.fm.intel.com with ESMTP; 01 Feb 2018 06:20:49 -0800 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Date: Thu, 1 Feb 2018 14:20:11 +0000 Message-Id: <20180201142011.133441-6-bruce.richardson@intel.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180201142011.133441-1-bruce.richardson@intel.com> References: <20180131174249.257933-1-bruce.richardson@intel.com> <20180201142011.133441-1-bruce.richardson@intel.com> Subject: [dpdk-dev] [PATCH v2 5/5] test/test: fix dependency on KNI 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: , X-List-Received-Date: Thu, 01 Feb 2018 14:20:50 -0000 The KNI 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test/meson.build b/test/test/meson.build index e8ddb76e3..eb3d87a4d 100644 --- a/test/test/meson.build +++ b/test/test/meson.build @@ -230,6 +230,9 @@ endif if dpdk_conf.has('RTE_LIBRTE_POWER') test_deps += 'power' endif +if dpdk_conf.has('RTE_LIBRTE_KNI') + test_deps += 'kni' +endif test_dep_objs = [] foreach d:test_deps -- 2.14.1