From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id 56F051AFF8 for ; Thu, 13 Sep 2018 15:41:53 +0200 (CEST) Received: by mail-wm0-f67.google.com with SMTP id n11-v6so6294126wmc.2 for ; Thu, 13 Sep 2018 06:41:53 -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=e2qJvt/F7SBBdxCSewOvNDDw8ESbfW1aO3PlBVMrCu5kkb4/pElbBnxr9h3x8tc8zf OhXTaiRY0CwWoj7j2eKrhQYJM3QDlu1Rdarg2SY7PAd5Wt+ofwWsp3f1plFIXXtVZ+TC nJ+x7c8k7Lcn0gOv61hkwfx7g87ztd50bQzmxfju8QSYQI0FrwC/fSR2/kurPEUuv4UI oLlK5XMN/izAo6w34BjWpTh9jtmYAdrDqrKh0mz61o5fmTEMuijRpxlIXPG/EmpAPmaI CQtRxaPqSV0RS9PtS5RH0WaVws3r6HjsDz8+CS0a69DOQrWAKzYIRDXYO2Sufl+dtgWU Obmw== X-Gm-Message-State: APzg51BpcR38+8tJBVVPStGmJtI7WTqiAV/HnrxE0eE7Lgv6v6wv29MA GQ0g4AsMpX5OVOLU5JjnRGrVzE1yA4g= X-Google-Smtp-Source: ANB0VdaE6td6WR3b6uSJwFaA8TKbFGrXSmvYwmDWk0LFm27aI9vnz/f1INGw3zuQa8qcmBVxBCGD9A== X-Received: by 2002:a1c:e54:: with SMTP id 81-v6mr5572972wmo.84.1536846112778; Thu, 13 Sep 2018 06:41:52 -0700 (PDT) Received: from localhost ([2001:1be0:110d:fcff:f19f:e27c:a323:8ad8]) by smtp.gmail.com with ESMTPSA id 132-v6sm4344519wmd.13.2018.09.13.06.41.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Sep 2018 06:41:51 -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: Thu, 13 Sep 2018 14:41:35 +0100 Message-Id: <20180913134140.8534-4-bluca@debian.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180913134140.8534-1-bluca@debian.org> References: <20180910200415.8340-1-bluca@debian.org> <20180913134140.8534-1-bluca@debian.org> Subject: [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 13:41:53 -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