From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by dpdk.org (Postfix) with ESMTP id 4B4368E76 for ; Thu, 13 Sep 2018 18:16:18 +0200 (CEST) Received: by mail-wr1-f67.google.com with SMTP id a108-v6so6675995wrc.13 for ; Thu, 13 Sep 2018 09:16: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=4j3+HpT+QElWGIWC/LkxsjTzP7jP9DYdMfWOHO5CFJI=; b=kV4Nq+w35PEV/S4si3zHQoDfj6bhQGWbJ1ZkORCfAvTWOi6T6R/h9YpJM9OSiRZMAT Ab1L12Ai17aHfK04oFnOuo7TS9ixco/Ez+cXNSZa4VCwV0sPRf4h8VVY3ihMjYfALh16 ERvw0N2vVAR0VRtnW3j+OQvmf9TfnNHZ0VTa8r3F3hqevQFcjmKD0lwNBcmaNgCb0MUD RcaU7CRTrPbiT/RVAXw56O6GNEdNMP/uLlZInc4K0oHAyZX+7cSY0suXUAOgogvQA5d4 xnAu38UHp849LMDbxTPG2iYxhVJrlARqLZvsEGGeXlpqPUjjqi1d6vyFyBVfLC14G6y6 HN1A== X-Gm-Message-State: APzg51DJ4jdwVp6+2oQgrZIK2DtIXrpfamLvsrI7WmhAKyajic0BJ/th CVPd+ECx6S32Fn3/J4t3qVp1tXrVOpg= X-Google-Smtp-Source: ANB0VdZHk903cVP/rK8zPVfAy6fvKotaG0KpJLkjujMxXH9tigOD5j0muQf+cvCsKn5lqW0kZXWZeg== X-Received: by 2002:a1c:6854:: with SMTP id d81-v6mr5781745wmc.160.1536855377645; Thu, 13 Sep 2018 09:16:17 -0700 (PDT) Received: from localhost ([2001:1be0:110d:fcff:f19f:e27c:a323:8ad8]) by smtp.gmail.com with ESMTPSA id r140-v6sm7242297wmd.7.2018.09.13.09.16.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Sep 2018 09:16: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: Thu, 13 Sep 2018 17:16:02 +0100 Message-Id: <20180913161607.21919-4-bluca@debian.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180913161607.21919-1-bluca@debian.org> References: <20180910200415.8340-1-bluca@debian.org> <20180913161607.21919-1-bluca@debian.org> Subject: [dpdk-dev] [PATCH v4 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 16:16:18 -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