From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 64C8A8E5E for ; Thu, 17 May 2018 22:16:12 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 May 2018 13:16:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,412,1520924400"; d="scan'208";a="40793916" Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.223.223]) by fmsmga008.fm.intel.com with ESMTP; 17 May 2018 13:16:11 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson , Jasvinder Singh , Cristian Dumitrescu Date: Thu, 17 May 2018 21:15:24 +0100 Message-Id: <20180517201526.28658-14-bruce.richardson@intel.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180517201526.28658-1-bruce.richardson@intel.com> References: <20180517201526.28658-1-bruce.richardson@intel.com> Subject: [dpdk-dev] [PATCH-18.08 13/15] net/softnic: add to meson build 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, 17 May 2018 20:16:13 -0000 Signed-off-by: Bruce Richardson --- CC: Jasvinder Singh CC: Cristian Dumitrescu --- drivers/net/meson.build | 3 ++- drivers/net/softnic/Makefile | 2 +- drivers/net/softnic/meson.build | 7 +++++++ ...rte_pmd_eth_softnic_version.map => rte_pmd_softnic_version.map} | 0 4 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 drivers/net/softnic/meson.build rename drivers/net/softnic/{rte_pmd_eth_softnic_version.map => rte_pmd_softnic_version.map} (100%) diff --git a/drivers/net/meson.build b/drivers/net/meson.build index 9714491d1..9cec3f884 100644 --- a/drivers/net/meson.build +++ b/drivers/net/meson.build @@ -8,7 +8,8 @@ drivers = ['af_packet', 'ark', 'avp', 'fm10k', 'i40e', 'ifcvf', 'ixgbe', 'kni', 'liquidio', 'mvpp2', 'nfp', 'null', 'octeontx', 'pcap', 'ring', - 'sfc', 'thunderx', 'virtio'] + 'sfc', 'softnic', + '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 std_deps += ['bus_vdev'] # same with vdev bus diff --git a/drivers/net/softnic/Makefile b/drivers/net/softnic/Makefile index d56fecd62..97ac88411 100644 --- a/drivers/net/softnic/Makefile +++ b/drivers/net/softnic/Makefile @@ -14,7 +14,7 @@ LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs -lrte_sched LDLIBS += -lrte_bus_vdev -EXPORT_MAP := rte_pmd_eth_softnic_version.map +EXPORT_MAP := rte_pmd_softnic_version.map LIBABIVER := 1 diff --git a/drivers/net/softnic/meson.build b/drivers/net/softnic/meson.build new file mode 100644 index 000000000..41059da8b --- /dev/null +++ b/drivers/net/softnic/meson.build @@ -0,0 +1,7 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2018 Intel Corporation + +install_headers('rte_eth_softnic.h') +sources = files('rte_eth_softnic_tm.c', + 'rte_eth_softnic.c') +deps += 'sched' diff --git a/drivers/net/softnic/rte_pmd_eth_softnic_version.map b/drivers/net/softnic/rte_pmd_softnic_version.map similarity index 100% rename from drivers/net/softnic/rte_pmd_eth_softnic_version.map rename to drivers/net/softnic/rte_pmd_softnic_version.map -- 2.11.0