From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by dpdk.org (Postfix) with ESMTP id D341C5F29 for ; Fri, 8 Jun 2018 18:59:31 +0200 (CEST) Received: by mail-pg0-f65.google.com with SMTP id e11-v6so6669659pgq.0 for ; Fri, 08 Jun 2018 09:59:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ielQ94K92Y9zbTGRrHV94LhfP2odTlgnOTD/LaQ66xk=; b=evYPx580LwI7Bl3xm/SoRKbzH0Hr2ca/omZEygVc2HSzsMU/vO9K4kXfHMjyFkuVxG zQ32OFAT0/YtzcSa4RGmrNU2JyJwTaU23sxndmYs21lyIFhglu5vs+mzdT9gZqsnqSK+ /nnJCujwgW3mddMHsAIMhRwlrRmU6kdTs4l75gGevkJbhO4cxxMGB1Xv6nD3xWrALhp2 PLZs07vkd2feYad83z6BuXctpT5CzlWmJFzPIsyh1oobxMyS6ttnhN5XIE8GF1Qlq8An 0xBQ3dkcSGtprqOci+z1mdOTkSMKl+QlRQY7nJE68RIx0jPKV8bApKlg5jGJ9UVp3HVW fTOQ== 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=ielQ94K92Y9zbTGRrHV94LhfP2odTlgnOTD/LaQ66xk=; b=p5yuAasY+ywJwXo4uSVghvcnzGB6SNAbk+cXeURkdeIbsnWgdmkhREv/nHY+au46cw uM10oX9TVDsIOfS3O+9d/Mb6nYEkdI9XKz1ck+RIpRdVj1nj4HikwYARoaw43BvPuUSA GFQmhK7yj3zQ4JlTVysJ19Yzyq2fSVVMvtP4Fs7IiaEGQKOi+onoEuo9ougp8UlvhGZZ vT7Ckub3lWKDpb+AhD21uY1+AuUNhFqBhSJCa44pIaVxDIsCiTzp0LusqUCGch4Gs1PF s9kD725ZnrxZVTDoR3GsT0Yg/Gw7WxWPqJmwLMmNMk4WeLdpxSl5DzoiZTakqfri4Tne o0yg== X-Gm-Message-State: APt69E1zN+gNgp7Odd4KtAxr/FmzcPnDBYypvpLH6QtdmJHR2tbuU5j7 fXzh4Nhufra2wurCld7lR14yF4kBu3I= X-Google-Smtp-Source: ADUXVKLBsgiQYUDRy/95nbcVvNRaOCcWxMJmj/FPFc7hpkxlSph3g2fGh/W+jNwJoj8YDGLArZV7mw== X-Received: by 2002:a62:e903:: with SMTP id j3-v6mr6156735pfh.228.1528477170617; Fri, 08 Jun 2018 09:59:30 -0700 (PDT) Received: from xeon-e3.lan (204-195-35-107.wavecable.com. [204.195.35.107]) by smtp.gmail.com with ESMTPSA id k9-v6sm21921750pgs.49.2018.06.08.09.59.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Jun 2018 09:59:29 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Fri, 8 Jun 2018 09:59:20 -0700 Message-Id: <20180608165920.12228-6-stephen@networkplumber.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180608165920.12228-1-stephen@networkplumber.org> References: <20180608165920.12228-1-stephen@networkplumber.org> Subject: [dpdk-dev] [PATCH v10 5/5] bus/vmbus and net/netvsc: add meson build support 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: Fri, 08 Jun 2018 16:59:32 -0000 From: Stephen Hemminger Update meson build files for new netvsc and vmbus drivers. Signed-off-by: Stephen Hemminger --- drivers/bus/meson.build | 2 +- drivers/bus/vmbus/meson.build | 18 ++++++++++++++++++ drivers/net/meson.build | 2 +- drivers/net/netvsc/meson.build | 7 +++++++ 4 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 drivers/bus/vmbus/meson.build create mode 100644 drivers/net/netvsc/meson.build diff --git a/drivers/bus/meson.build b/drivers/bus/meson.build index 52c755dcfd8e..80de2d91d52d 100644 --- a/drivers/bus/meson.build +++ b/drivers/bus/meson.build @@ -1,7 +1,7 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Intel Corporation -drivers = ['dpaa', 'fslmc', 'ifpga', 'pci', 'vdev'] +drivers = ['dpaa', 'fslmc', 'ifpga', 'pci', 'vdev', 'vmbus'] std_deps = ['eal'] config_flag_fmt = 'RTE_LIBRTE_@0@_BUS' driver_name_fmt = 'rte_bus_@0@' diff --git a/drivers/bus/vmbus/meson.build b/drivers/bus/vmbus/meson.build new file mode 100644 index 000000000000..18daabecc62d --- /dev/null +++ b/drivers/bus/vmbus/meson.build @@ -0,0 +1,18 @@ +# SPDX-License-Identifier: BSD-3-Clause + +allow_experimental_apis = true + +install_headers('rte_bus_vmbus.h','rte_vmbus_reg.h') + +sources = files('vmbus_common.c', + 'vmbus_channel.c', + 'vmbus_bufring.c', + 'vmbus_common_uio.c') + +if host_machine.system() == 'linux' + sources += files('linux/vmbus_bus.c', + 'linux/vmbus_uio.c') + includes += include_directories('linux') +else + build = false +endif diff --git a/drivers/net/meson.build b/drivers/net/meson.build index b7d00a04c8ef..74d6c0f7cabf 100644 --- a/drivers/net/meson.build +++ b/drivers/net/meson.build @@ -3,7 +3,7 @@ drivers = ['af_packet', 'axgbe', 'bonding', 'dpaa', 'dpaa2', 'e1000', 'enic', 'fm10k', 'i40e', 'ixgbe', - 'mvpp2', 'null', 'octeontx', 'pcap', 'ring', + 'mvpp2', 'netvsc', 'null', 'octeontx', 'pcap', 'ring', 'sfc', 'thunderx', 'virtio'] std_deps = ['ethdev', 'kvargs'] # 'ethdev' also pulls in mbuf, net, eal etc std_deps += ['bus_pci'] # very many PMDs depend on PCI, so make std diff --git a/drivers/net/netvsc/meson.build b/drivers/net/netvsc/meson.build new file mode 100644 index 000000000000..68fe9b7e6b46 --- /dev/null +++ b/drivers/net/netvsc/meson.build @@ -0,0 +1,7 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2018 Microsoft Corporation + +version = 2 +sources = files('hn_ethdev.c', 'hn_rxtx.c', 'hn_rndis.c', 'hn_nvs.c') + +deps += ['bus_vmbus' ] -- 2.17.1