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 1300F4CB5 for ; Mon, 10 Sep 2018 22:04:41 +0200 (CEST) Received: by mail-wm0-f65.google.com with SMTP id b19-v6so22833831wme.3 for ; Mon, 10 Sep 2018 13:04:41 -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=TokJWbM+BzwnSMRxQBSm1FOMUPEXttDS7b8f1xVx+3f2oqge01S61wyPXGk66Vmp3I zw+JGTxTCyUP968jSCZmvDd3aMjFG2AzUvwE7xjwNIanUpN/yjbMmstbcuFBQsy95JLR 3oTRJR3xJeP7VmE55vkCeSdhSsBL2pLLJ/mwZ7OP8BY8W92gGs43NVfarV4KW2UsPI2J lNh448iEbVRmZPjN5h95it5NssyDUGB3T3TrfhheG1sR75REN2dXlIKeKR2m7/P2VhFv Ibmu++/IOs7nhYXUc05plzGZmK2N2wI9o/p4EwH1GbS7xoVeuVWqGZNa8+B//MpMtPXf 2mHA== X-Gm-Message-State: APzg51DJZTx1+VvyMMS9k5aFbqNC4Tnn03IPcCUywKsgG/nVGxYrVa39 xEW/1S6zcDBZBVgl6MwkUOR3ZGwTXsA= X-Google-Smtp-Source: ANB0VdY6KvA0cM4qpg+GyQTtEXM5SoamAGr5z6RmCptGAYXX0LfINSslxyG+QCif5roOgRw9qNXdDw== X-Received: by 2002:a1c:99c2:: with SMTP id b185-v6mr1711748wme.15.1536609880416; Mon, 10 Sep 2018 13:04:40 -0700 (PDT) Received: from localhost ([2a01:4b00:f419:6f00:8361:8946:ba2b:d556]) by smtp.gmail.com with ESMTPSA id c19-v6sm16521721wre.86.2018.09.10.13.04.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 10 Sep 2018 13:04:39 -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, antosh.shukla@caviumnetworks.com, ashish.gupta@cavium.com, yongwang@vmware.com, bruce.richardson@intel.com, thomas@monjalon.net Date: Mon, 10 Sep 2018 21:04:02 +0100 Message-Id: <20180910200415.8340-3-bluca@debian.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180910200415.8340-1-bluca@debian.org> References: <20180910200415.8340-1-bluca@debian.org> Subject: [dpdk-dev] [PATCH 02/15] 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: Mon, 10 Sep 2018 20:04:41 -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