From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id 9D4A5569B for ; Mon, 10 Sep 2018 22:04:44 +0200 (CEST) Received: by mail-wm0-f68.google.com with SMTP id q8-v6so22781440wmq.4 for ; Mon, 10 Sep 2018 13:04:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=yPU2yLHutDNt1rXMZZQmp6fslc41mvVkALY2bDpcM+Q=; b=HWMn0TpVdKkXBLRPkVMOAISkSAAFtyn24hdoQRLvtlcl4/kXTcZ3SgiBsV98Jr2JxV lPnZVUugB2r+W3mWM59PUlyIUqm36oj/VRNYXwSD2etwaJKWFi3Y05CT38Fwo1imETxX 1O9Q2XdgdqZru/V/Ob11JM97AN9qT84giH2xjNcGjeBjiOlQzPrZS2xuJKv6nUxfPYu4 ymULw8S9nNW6UZOn3mHAfbz4tX+6q+PShqARID/5QZPRVoVu8/CbyqY5awWf87hrLUla 9xmNhJ1v8Yu5lr7xnlzMY/l0fceXnnnAIdLQnxTJtmaV5e1mLdTthfLYhOzyC3eitAAv V3Ow== X-Gm-Message-State: APzg51BHiPH2TVMpXf8Vet5PXTLLuXKSAH8SDO+/j4dkyKdH5ULNfGA7 PhCFcxpl2chx/M9EIK8ZNWKvvMw8YpA= X-Google-Smtp-Source: ANB0VdbIWXDqiJ7BDOf9yICw6+toPdsGQxNC4+JnEYrsBk19AUuXEY8WcIBo18Auy7zykl/G4LQ9XQ== X-Received: by 2002:a1c:b9cf:: with SMTP id j198-v6mr1684471wmf.93.1536609884085; Mon, 10 Sep 2018 13:04:44 -0700 (PDT) Received: from localhost ([2a01:4b00:f419:6f00:8361:8946:ba2b:d556]) by smtp.gmail.com with ESMTPSA id p11-v6sm18716176wrd.74.2018.09.10.13.04.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 10 Sep 2018 13:04:42 -0700 (PDT) From: Luca Boccassi To: dev@dpdk.org Cc: 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, antosh.shukla@caviumnetworks.com, ashish.gupta@cavium.com, yongwang@vmware.com, bruce.richardson@intel.com, thomas@monjalon.net Date: Mon, 10 Sep 2018 21:04:04 +0100 Message-Id: <20180910200415.8340-5-bluca@debian.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180910200415.8340-1-bluca@debian.org> References: <20180910200415.8340-1-bluca@debian.org> Subject: [dpdk-dev] [PATCH 04/15] 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: Mon, 10 Sep 2018 20:04:44 -0000 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 diff --git a/drivers/net/meson.build b/drivers/net/meson.build index 68ac42d67c..28efeda0b6 100644 --- a/drivers/net/meson.build +++ b/drivers/net/meson.build @@ -3,6 +3,7 @@ drivers = ['af_packet', 'ark', + 'avf', 'avp', 'axgbe', 'bonding', 'bnx2x', -- 2.18.0