From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by dpdk.org (Postfix) with ESMTP id 6AC2C5398 for ; Tue, 11 Sep 2018 18:09:18 +0200 (CEST) Received: by mail-wm0-f65.google.com with SMTP id n11-v6so1601378wmc.2 for ; Tue, 11 Sep 2018 09:09:18 -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=uPfi9cYbeOjr/l4TZbr4sKCFCEMKse2vmW7c1JQi5X7QY0xof7yQaxH6lTGlsqybV6 Pf5bz2wBJMWZ4RmI3Khij/YlKQNebGpTOAzdvk1qi0/v9BOffVyHva2fo59nmHYAtkSH TRxz0kZSFLzFU/LmoijJ9lGnmwQwPVGsK4XF4dZsdvtIS5+lddJ9ZzCYbhVmy9uYC7gE K9dnm/ZLp6BP47hDPvYSvnbxjh7MupN8iC8DtU65mJgZGbCGC9X8Wn9mwI1sljuynX66 rIJeHufBc78eYIZ8oPP2KRntPOfZBIR0zvemwTZVzvncAujdkVSFw5p+RsjpaRBApZ87 1Ahg== X-Gm-Message-State: APzg51CFz+LmnfuoK1xTH8lrnRhoJeJ00Yqj2jz0dxJMyI7uuh47zPxm Kj6ubmJBnhqTpVA6+4TquxD2Q/ZgRZE= X-Google-Smtp-Source: ANB0VdZfT/ZPT3fB9oPpDcL24ghHXhjnqIZDPpVW4aTocR7dUb46RDPN1d7KmBccBWiZdEDDN4ocmA== X-Received: by 2002:a1c:8dc6:: with SMTP id p189-v6mr1935850wmd.3.1536682157833; Tue, 11 Sep 2018 09:09:17 -0700 (PDT) Received: from localhost ([2a01:4b00:f419:6f00:8361:8946:ba2b:d556]) by smtp.gmail.com with ESMTPSA id r30-v6sm26416016wrc.90.2018.09.11.09.09.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 11 Sep 2018 09:09:16 -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, santosh.shukla@caviumnetworks.com, ashish.gupta@cavium.com, yongwang@vmware.com, bruce.richardson@intel.com, thomas@monjalon.net Date: Tue, 11 Sep 2018 17:08:58 +0100 Message-Id: <20180911160903.27226-4-bluca@debian.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180911160903.27226-1-bluca@debian.org> References: <20180910200415.8340-1-bluca@debian.org> <20180911160903.27226-1-bluca@debian.org> Subject: [dpdk-dev] [PATCH v2 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: Tue, 11 Sep 2018 16:09:18 -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