From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by dpdk.org (Postfix) with ESMTP id EB6135F11 for ; Tue, 18 Sep 2018 16:58:39 +0200 (CEST) Received: by mail-wm1-f65.google.com with SMTP id b19-v6so2876481wme.3 for ; Tue, 18 Sep 2018 07:58:39 -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=JUcverwLTcv+pDGyjg6UERrfjS8m77Jl2JTiEpw+E61O/x1P9v1aVcQ7+Y51orYXg8 8wGLvD/Wq/gtZ+tO7xOhHqUkPzCW3CNGR20Dw4hj+HygSPwbVOQiK9vXLKJej7p4F+S2 ugQFooAU2E4or7cDlkUk/hHNtn45gKQW4dcvAXT3Ow/EuBQ/e7/wHTfNwqVqfGjAoHrS xmxQi+Qdh1r4BwkbF/0cQ08VQ9O1e/9oHSdLUBBKhkGZp9gYbQH50OxcVsIPayWFMxlh Ir/UnpBqc5YzRXsW7b7JuUzztpBsF1vAX1/RV2NbEYaYJecvpuxttZN5MSVNfcEgrMLJ e7Kg== X-Gm-Message-State: APzg51B3HsqfOiONtYylEnOMO57cvCcHVeIHPvepmX0sCYER0CWdftuL nbNwJV1eomWMTCxg+VyWVQMfmdYGDWI= X-Google-Smtp-Source: ANB0VdYPenDEep5R5zC39lwg6z+xfcT7IdfggNU04Cd4CZCeFsGQY0D3G2k3DffUAWxyTXz8KlXOrw== X-Received: by 2002:a1c:32c4:: with SMTP id y187-v6mr16336783wmy.31.1537282714204; Tue, 18 Sep 2018 07:58:34 -0700 (PDT) Received: from localhost ([2001:1be0:110d:fcfe:489f:80a9:5d59:c6bd]) by smtp.gmail.com with ESMTPSA id 88-v6sm16321270wrf.95.2018.09.18.07.58.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Sep 2018 07:58:33 -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:15 +0100 Message-Id: <20180918145822.16763-2-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 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: Tue, 18 Sep 2018 14:58:40 -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