From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by dpdk.org (Postfix) with ESMTP id 449E45B34 for ; Tue, 18 Sep 2018 16:58:38 +0200 (CEST) Received: by mail-wm1-f67.google.com with SMTP id q8-v6so3199315wmq.4 for ; Tue, 18 Sep 2018 07:58:38 -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=4j3+HpT+QElWGIWC/LkxsjTzP7jP9DYdMfWOHO5CFJI=; b=W8zn4duUMe7OCjhq3m9SY+cRTTZGhQM3+AwCPSp4Uj9t/JX5AJIVRjhco0Yya6su6D mLJeg2JXXyEziVzlYbTcEUwc/xrDZbUA9N77lU2uzR/ikFmQkCvWA4X72s4X4b/aARTm cTp86D4OJ7BqOfkB/riNsByfX0N265MrOm1UsCsfjTkRCevSEC7feRcJ89twtBlDjAhi bMNxlcao64PKXB2bduSc8lBVx3WQqbL9aE9R+zLh6ktAJCHGzK/tPnAQmyRJfQ3Ofm2l mGUCK8mxwv1Jid5Bvb0LeSPgzNiChiLZNykrTBZq/TtK6vJwY4uR+TMQmOrOXerR8qMZ y6lg== X-Gm-Message-State: APzg51DYurYIquTLWL0JIIDV5ROzoUfIZJrx2a8ZXrZlF05pAdxaSNak dKQ/o9bvsZhwQkXFQxie0jFj1sOGZnk= X-Google-Smtp-Source: ANB0VdYkH25gDJ9ck8osfA1wyxppN6RWKcYbjmSFay+N2kFPnD08YiMREmU2QayV0H1q2z46+oCI8w== X-Received: by 2002:a1c:4d09:: with SMTP id o9-v6mr17043768wmh.134.1537282717693; Tue, 18 Sep 2018 07:58:37 -0700 (PDT) Received: from localhost ([2001:1be0:110d:fcfe:489f:80a9:5d59:c6bd]) by smtp.gmail.com with ESMTPSA id e133-v6sm4561707wma.33.2018.09.18.07.58.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Sep 2018 07:58:36 -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, 18 Sep 2018 15:58:17 +0100 Message-Id: <20180918145822.16763-4-bluca@debian.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180918145822.16763-1-bluca@debian.org> References: <20180910200415.8340-1-bluca@debian.org> <20180918145822.16763-1-bluca@debian.org> Subject: [dpdk-dev] [PATCH v5 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, 18 Sep 2018 14:58:38 -0000 Signed-off-by: Luca Boccassi --- drivers/net/avf/base/meson.build | 20 ++++++++++++++++++++ drivers/net/avf/meson.build | 19 +++++++++++++++++++ drivers/net/meson.build | 1 + 3 files changed, 40 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..b5ad9cc673 --- /dev/null +++ b/drivers/net/avf/meson.build @@ -0,0 +1,19 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2018 Luca Boccassi + +cflags += ['-Wno-strict-aliasing'] + +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' + dpdk_conf.set('RTE_LIBRTE_AVF_INC_VECTOR', 1) + 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