From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by dpdk.org (Postfix) with ESMTP id 991DD5A6E for ; Thu, 13 Sep 2018 18:16:14 +0200 (CEST) Received: by mail-wr1-f68.google.com with SMTP id s14-v6so6687331wrw.6 for ; Thu, 13 Sep 2018 09:16:14 -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=ofSI+emroMR0vH2fpKpMe5FPLmfVQK/MnFwJWy9tk3A=; b=c0w44lazKJ01EvKqmjmpUJABdo356krymL6OxfMzbXiea34iEwnmtA4elYljgi423D +iS7OPknrCmuRAN5aBir9rfdVQxUhvWIA97KjiPpQvQwSUDLlLKICUmPGx8JGpcd5d20 HGECy4wb3VgaZTFOLq126m9WgTh2wSHMVBQgxjU6xA3EF0w2/xUFqmFknKQpNZuZjIxL EdQrQGfCPAx7Hp6D7dg0HWTI/jNNl/aEmqnYb/1cRwaOdNuYssN+LJDhBk+SRLu8m+b6 PyiYRWlqBCsOteUragGKh+QX54FHliZ62rxwABFI+zYQ/yUsVnbu72W3+DJdqpc7IvaE MDAg== X-Gm-Message-State: APzg51ART9b8oeF7rgRjQjErw3GL6f7jwDriOusOLzU/x/4X+6nwS5zS IqBqVgsVBU8+wvevc2KGMUr5i5cV7vo= X-Google-Smtp-Source: ANB0VdbkYuKpdpIrA8b5cDJfZRKyyPCbwxU7HwrkOkl/t38GYrmgCHcAe+lKsj4D8eVcqoaM0I0fhA== X-Received: by 2002:adf:f648:: with SMTP id x8-v6mr6467023wrp.144.1536855373734; Thu, 13 Sep 2018 09:16:13 -0700 (PDT) Received: from localhost ([2001:1be0:110d:fcff:f19f:e27c:a323:8ad8]) by smtp.gmail.com with ESMTPSA id k34-v6sm6577224wre.18.2018.09.13.09.16.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Sep 2018 09:16:12 -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:00 +0100 Message-Id: <20180913161607.21919-2-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 2/9] build: add Meson file for vdev_netvsc 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:14 -0000 Signed-off-by: Luca Boccassi --- drivers/net/meson.build | 1 + drivers/net/vdev_netvsc/meson.build | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 drivers/net/vdev_netvsc/meson.build diff --git a/drivers/net/meson.build b/drivers/net/meson.build index b7b4870eb8..68ac42d67c 100644 --- a/drivers/net/meson.build +++ b/drivers/net/meson.build @@ -29,6 +29,7 @@ drivers = ['af_packet', 'szedata2', 'tap', 'thunderx', + 'vdev_netvsc', 'vhost', 'virtio'] std_deps = ['ethdev', 'kvargs'] # 'ethdev' also pulls in mbuf, net, eal etc diff --git a/drivers/net/vdev_netvsc/meson.build b/drivers/net/vdev_netvsc/meson.build new file mode 100644 index 0000000000..cc956e7b27 --- /dev/null +++ b/drivers/net/vdev_netvsc/meson.build @@ -0,0 +1,19 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2018 Luca Boccassi + +sources = files('vdev_netvsc.c') + +allow_experimental_apis = true + +cflags_options = [ + '-Wall', + '-Wextra', + '-D_BSD_SOURCE', + '-D_DEFAULT_SOURCE', + '-D_XOPEN_SOURCE=600' +] +foreach option:cflags_options + if cc.has_argument(option) + cflags += option + endif +endforeach -- 2.18.0