From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by dpdk.org (Postfix) with ESMTP id B3829AAA9 for ; Thu, 13 Sep 2018 15:41:49 +0200 (CEST) Received: by mail-wm0-f65.google.com with SMTP id s12-v6so6253847wmc.0 for ; Thu, 13 Sep 2018 06:41:49 -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=TSdngX2bWRe7pVtN0/QFBd9zplhAbRNt2FTtuM2z85cNhMHIxQBZlAuw4F1f3E/oUL LO5iGwrbNKb8n4hpXQaIXDHIZu8wFQZ1QOwJZJavpPq7YBndttkUgYJVGx6VZeMztd1Y L7ruELGB8yqGTx+VKfX9rNOV8lUYhVZQ4Dr2TPOmV22GO0VQ/XjBbCGH95YOxKldhOcl oHpRe3uL7qMeIQ5RyELfg30E+2X9PmnNnaMFR0IRM10p/K+zDCT4/41CrFEVa04QFB8u kl5ZVoEcU3flEd2B9iibkE6NVnfNj5VeaKJupcOSNEsgyNjTDj8O06DCJZQht6Khddh8 YOmg== X-Gm-Message-State: APzg51BtPCHDTN3e1ewFROxUUlemUdrsQv+JqCNRmqYiM+17J1MY7vR7 N9uTlUA06XsuXan/xwIVNAxlSw8ubSg= X-Google-Smtp-Source: ANB0Vdbkp8s+6AJq6YAcVNPFvn3NmvrfrcN9NGSSY02hVsQUrxB0R99T+6cJqjSXU9nqcrldirRsSw== X-Received: by 2002:a1c:f611:: with SMTP id w17-v6mr5821183wmc.143.1536846109051; Thu, 13 Sep 2018 06:41:49 -0700 (PDT) Received: from localhost ([2001:1be0:110d:fcff:f19f:e27c:a323:8ad8]) by smtp.gmail.com with ESMTPSA id 34-v6sm5435418wra.20.2018.09.13.06.41.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Sep 2018 06:41:47 -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:33 +0100 Message-Id: <20180913134140.8534-2-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 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 13:41:50 -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