From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 3A1B41B001 for ; Thu, 13 Sep 2018 16:49:46 +0200 (CEST) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Sep 2018 07:49:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,369,1531810800"; d="scan'208";a="262299210" Received: from bricha3-mobl.ger.corp.intel.com ([10.237.221.107]) by fmsmga005.fm.intel.com with SMTP; 13 Sep 2018 07:49:19 -0700 Received: by (sSMTP sendmail emulation); Thu, 13 Sep 2018 15:49:19 +0100 Date: Thu, 13 Sep 2018 15:49:18 +0100 From: Bruce Richardson To: Luca Boccassi Cc: dev@dpdk.org, keith.wiles@intel.com, roy.fan.zhang@intel.com, jingjing.wu@intel.com, wenzhuo.lu@intel.com, rasesh.mody@cavium.com, harish.patil@cavium.com, shahed.shaikh@cavium.com, amr.mokhtar@intel.com, shijith.thotton@cavium.com, ssrinivasan@cavium.com, liang.j.ma@intel.com, peter.mccarthy@intel.com, jerin.jacob@caviumnetworks.com, maciej.czekaj@caviumnetworks.com, arybchenko@solarflare.com, santosh.shukla@caviumnetworks.com, ashish.gupta@cavium.com, yongwang@vmware.com, thomas@monjalon.net Message-ID: <20180913144918.GD14728@bricha3-MOBL.ger.corp.intel.com> References: <20180910200415.8340-1-bluca@debian.org> <20180913134140.8534-1-bluca@debian.org> <20180913134140.8534-4-bluca@debian.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180913134140.8534-4-bluca@debian.org> Organization: Intel Research and Development Ireland Ltd. User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [dpdk-dev] [PATCH v3 4/9] build: add Meson files for avf PMD 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, 13 Sep 2018 14:49:46 -0000 On Thu, Sep 13, 2018 at 02:41:35PM +0100, Luca Boccassi wrote: > Signed-off-by: Luca Boccassi > --- > drivers/net/avf/base/meson.build | 20 ++++++++++++++++++++ > drivers/net/avf/meson.build | 15 +++++++++++++++ > drivers/net/meson.build | 1 + > 3 files changed, 36 insertions(+) > create mode 100644 drivers/net/avf/base/meson.build > create mode 100644 drivers/net/avf/meson.build > > diff --git a/drivers/net/avf/base/meson.build b/drivers/net/avf/base/meson.build > new file mode 100644 > index 0000000000..90fd6b445f > --- /dev/null > +++ b/drivers/net/avf/base/meson.build > @@ -0,0 +1,20 @@ > +# SPDX-License-Identifier: BSD-3-Clause > +# Copyright(c) 2018 Luca Boccassi > + > +sources = [ > + 'avf_adminq.c', > + 'avf_common.c', > +] > + > +error_cflags = ['-Wno-pointer-to-int-cast'] > +c_args = cflags > +foreach flag: error_cflags > + if cc.has_argument(flag) > + c_args += flag > + endif > +endforeach > + > +base_lib = static_library('avf_base', sources, > + dependencies: static_rte_eal, > + c_args: c_args) > +base_objs = base_lib.extract_all_objects() > diff --git a/drivers/net/avf/meson.build b/drivers/net/avf/meson.build > new file mode 100644 > index 0000000000..d341f029b2 > --- /dev/null > +++ b/drivers/net/avf/meson.build > @@ -0,0 +1,15 @@ > +# SPDX-License-Identifier: BSD-3-Clause > +# Copyright(c) 2018 Luca Boccassi > + > +subdir('base') > +objs = [base_objs] > + > +sources = files( > + 'avf_ethdev.c', > + 'avf_rxtx.c', > + 'avf_rxtx_vec_sse.c', > + 'avf_vchnl.c', > +) > +if arch_subdir == 'x86' > + sources += files('avf_rxtx_vec_sse.c') > +endif Missed this set had been sent, so please see comment on V2 re. needed warning-disable flag, and need for VECTOR define flag for x86. /Bruce