From patchwork Mon Sep 10 20:04:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Boccassi X-Patchwork-Id: 44544 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CF4075F19; Mon, 10 Sep 2018 22:04:57 +0200 (CEST) Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by dpdk.org (Postfix) with ESMTP id 986935B3A for ; Mon, 10 Sep 2018 22:04:55 +0200 (CEST) Received: by mail-wr1-f68.google.com with SMTP id j26-v6so23289898wre.2 for ; Mon, 10 Sep 2018 13:04:55 -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=Oss94w3tgkpPBPdHJLgmZp85Bv3lWeCBPBQVgvMdRw4=; b=QfIAVrR9D3YB1BsbR2Ce8vF/Tl/AU+JkhVU5TVn6WgPvgUJ0/1gBdAmNHFK60oDypY yr14FEZiT/tCg7rRozyZUF+MCiHnAHGoqc/HrKS7GW0WhNOAN1+R0RiMxMr+JfDHes4+ 2TqdV1KODs2rtsp0x6r6C7CDj5LpmugX0Qf0OAxJ5QCIYATlcKrK8UCNyMY7J4LLJ+SW /ePZN2cW9h0v6+AEFYvkWbtFfIZcJjXO0R4wTfvkS4W8D514ZdFKS6718YPtdxxf2BPO Jy7y+tU/DiyhrttJhuaseaXe/mAR0e/uh/WSPeUTIpAzLXnuEBurDFQxNHgBBIMAtAKf Afag== X-Gm-Message-State: APzg51CnPA6n3hGlmJWBesDgm7Hu7xnN38HJRG5VJ51w+Q0O/fJs2SgQ GduBul2szU6H8YBVa0gOqPVMm/Wj63w= X-Google-Smtp-Source: ANB0VdaXBCup9Xy+Po+KFBex+rsnD8HqzFUetQnar9UrhZGqQylKcGJirQ3bxThCkWqDrTmPJu2u+g== X-Received: by 2002:adf:b609:: with SMTP id f9-v6mr15051212wre.14.1536609894901; Mon, 10 Sep 2018 13:04:54 -0700 (PDT) Received: from localhost ([2a01:4b00:f419:6f00:8361:8946:ba2b:d556]) by smtp.gmail.com with ESMTPSA id g7-v6sm14447804wrw.30.2018.09.10.13.04.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 10 Sep 2018 13:04:53 -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:10 +0100 Message-Id: <20180910200415.8340-11-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 10/15] net/thunderx: rename version map after library file name 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The library is called librte_pmd_thunderx_nicvf, so rename the map file and set the name in the meson file so that the built library names with meson and legacy makefiles are the same Fixes: 7f615033d64f ("drivers/net: build Cavium NIC PMDs with meson") Cc: stable@dpdk.org Signed-off-by: Luca Boccassi --- drivers/net/thunderx/Makefile | 2 +- drivers/net/thunderx/meson.build | 1 + ..._thunderx_version.map => rte_pmd_thunderx_nicvf_version.map} | 0 3 files changed, 2 insertions(+), 1 deletion(-) rename drivers/net/thunderx/{rte_pmd_thunderx_version.map => rte_pmd_thunderx_nicvf_version.map} (100%) diff --git a/drivers/net/thunderx/Makefile b/drivers/net/thunderx/Makefile index e6bf497522..cc008bd3a4 100644 --- a/drivers/net/thunderx/Makefile +++ b/drivers/net/thunderx/Makefile @@ -16,7 +16,7 @@ LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs LDLIBS += -lrte_bus_pci -EXPORT_MAP := rte_pmd_thunderx_version.map +EXPORT_MAP := rte_pmd_thunderx_nicvf_version.map LIBABIVER := 1 diff --git a/drivers/net/thunderx/meson.build b/drivers/net/thunderx/meson.build index 69819a97fa..0c1207455e 100644 --- a/drivers/net/thunderx/meson.build +++ b/drivers/net/thunderx/meson.build @@ -1,6 +1,7 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc +name = 'thunderx_nicvf' subdir('base') objs = [base_objs] diff --git a/drivers/net/thunderx/rte_pmd_thunderx_version.map b/drivers/net/thunderx/rte_pmd_thunderx_nicvf_version.map similarity index 100% rename from drivers/net/thunderx/rte_pmd_thunderx_version.map rename to drivers/net/thunderx/rte_pmd_thunderx_nicvf_version.map