From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 82A0DA0093; Mon, 3 Oct 2022 08:52:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3180D40695; Mon, 3 Oct 2022 08:52:23 +0200 (CEST) Received: from guvercin.ceng.metu.edu.tr (guvercin.ceng.metu.edu.tr [144.122.171.43]) by mails.dpdk.org (Postfix) with ESMTP id B4C0A40693 for ; Mon, 3 Oct 2022 08:52:21 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by guvercin.ceng.metu.edu.tr (Postfix) with ESMTP id 933382C1B0; Mon, 3 Oct 2022 09:52:17 +0300 (+03) X-Virus-Scanned: Debian amavisd-new at ceng.metu.edu.tr Received: from guvercin.ceng.metu.edu.tr ([127.0.0.1]) by localhost (guvercin.ceng.metu.edu.tr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9WkXE4xHQ7Oa; Mon, 3 Oct 2022 09:52:07 +0300 (+03) Received: from dmu.otak.ist (unknown [212.156.37.190]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: e1885458) by guvercin.ceng.metu.edu.tr (Postfix) with ESMTPSA id 818902C3E7; Mon, 3 Oct 2022 09:52:05 +0300 (+03) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ceng.metu.edu.tr; s=mail; t=1664779927; bh=FoAxlfRaPNMhDjnDH6F5kXn63+41FFDkmzT/CaXH5Ho=; h=From:To:Cc:Subject:Date:From; b=jiPTj9LM34FHWOBxq4ffGyDUnaiU4xwep/+dRlZJXlmjno4T8pq5apPUWPiVqSuEl DEui4U7mavROTKNapK2hu9hAZs4A2B6Fk9ZvNJ86HhwKYGEui4uAuJSB7DrNaB9aM7 bKzJKl3uBe/5BxKmtrVveUzZVka3BiUgM/GiwgvY= From: =?UTF-8?q?Abdullah=20=C3=96mer=20Yama=C3=A7?= To: dev@dpdk.org Cc: ferruh.yigit@amd.com, =?UTF-8?q?Abdullah=20=C3=96mer=20Yama=C3=A7?= Subject: [PATCH] drivers: suggestion on removing empty version.map files Date: Mon, 3 Oct 2022 09:52:03 +0300 Message-Id: <20221003065203.555038-1-omer.yamac@ceng.metu.edu.tr> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org In this patch, we remove all version.map files which include only the below part: `DPDK_23 { local: *; };` Then we modify the meson.build to be able to compile without version.map Signed-off-by: Abdullah Ömer Yamaç Suggested-by: Ferruh Yigit --- drivers/baseband/la12xx/version.map | 3 -- drivers/baseband/null/version.map | 3 -- drivers/baseband/turbo_sw/version.map | 3 -- drivers/common/qat/version.map | 3 -- drivers/compress/isal/version.map | 3 -- drivers/compress/mlx5/version.map | 3 -- drivers/compress/octeontx/version.map | 3 -- drivers/compress/zlib/version.map | 3 -- drivers/crypto/armv8/version.map | 3 -- drivers/crypto/bcmfs/version.map | 3 -- drivers/crypto/caam_jr/version.map | 3 -- drivers/crypto/ccp/version.map | 3 -- drivers/crypto/ipsec_mb/version.map | 3 -- drivers/crypto/mlx5/version.map | 3 -- drivers/crypto/mvsam/version.map | 3 -- drivers/crypto/nitrox/version.map | 3 -- drivers/crypto/null/version.map | 3 -- drivers/crypto/openssl/version.map | 3 -- drivers/crypto/virtio/version.map | 3 -- drivers/dma/cnxk/version.map | 3 -- drivers/dma/dpaa/version.map | 3 -- drivers/dma/hisilicon/version.map | 3 -- drivers/dma/idxd/version.map | 3 -- drivers/dma/ioat/version.map | 3 -- drivers/dma/skeleton/version.map | 3 -- drivers/event/cnxk/version.map | 3 -- drivers/event/dpaa/version.map | 3 -- drivers/event/dpaa2/version.map | 3 -- drivers/event/dsw/version.map | 3 -- drivers/event/octeontx/version.map | 3 -- drivers/event/opdl/version.map | 3 -- drivers/event/skeleton/version.map | 3 -- drivers/event/sw/version.map | 3 -- drivers/gpu/cuda/version.map | 3 -- drivers/mempool/bucket/version.map | 3 -- drivers/mempool/cnxk/version.map | 3 -- drivers/mempool/octeontx/version.map | 3 -- drivers/mempool/ring/version.map | 3 -- drivers/mempool/stack/version.map | 3 -- drivers/meson.build | 63 +++++++++++++++------------ drivers/net/af_packet/version.map | 3 -- drivers/net/af_xdp/version.map | 3 -- drivers/net/ark/version.map | 3 -- drivers/net/avp/version.map | 3 -- drivers/net/axgbe/version.map | 3 -- drivers/net/bnx2x/version.map | 3 -- drivers/net/cxgbe/version.map | 3 -- drivers/net/e1000/version.map | 3 -- drivers/net/ena/version.map | 3 -- drivers/net/enetc/version.map | 3 -- drivers/net/enetfec/version.map | 3 -- drivers/net/enic/version.map | 3 -- drivers/net/failsafe/version.map | 3 -- drivers/net/fm10k/version.map | 3 -- drivers/net/hinic/version.map | 3 -- drivers/net/hns3/version.map | 3 -- drivers/net/igc/version.map | 3 -- drivers/net/ionic/version.map | 3 -- drivers/net/kni/version.map | 3 -- drivers/net/liquidio/version.map | 3 -- drivers/net/memif/version.map | 3 -- drivers/net/mlx4/version.map | 3 -- drivers/net/mvneta/version.map | 3 -- drivers/net/mvpp2/version.map | 3 -- drivers/net/netvsc/version.map | 3 -- drivers/net/nfb/version.map | 3 -- drivers/net/nfp/version.map | 3 -- drivers/net/ngbe/version.map | 3 -- drivers/net/null/version.map | 3 -- drivers/net/octeon_ep/version.map | 3 -- drivers/net/pcap/version.map | 3 -- drivers/net/pfe/version.map | 3 -- drivers/net/qede/version.map | 3 -- drivers/net/sfc/version.map | 3 -- drivers/net/tap/version.map | 3 -- drivers/net/thunderx/version.map | 3 -- drivers/net/txgbe/version.map | 3 -- drivers/net/vdev_netvsc/version.map | 3 -- drivers/net/virtio/version.map | 3 -- drivers/net/vmxnet3/version.map | 3 -- drivers/raw/cnxk_bphy/version.map | 3 -- drivers/raw/cnxk_gpio/version.map | 3 -- drivers/raw/dpaa2_cmdif/version.map | 3 -- drivers/raw/ntb/version.map | 3 -- drivers/raw/skeleton/version.map | 3 -- drivers/regex/cn9k/version.map | 3 -- drivers/regex/mlx5/version.map | 3 -- drivers/vdpa/ifc/version.map | 3 -- drivers/vdpa/mlx5/version.map | 3 -- drivers/vdpa/sfc/version.map | 3 -- 90 files changed, 34 insertions(+), 296 deletions(-) delete mode 100644 drivers/baseband/la12xx/version.map delete mode 100644 drivers/baseband/null/version.map delete mode 100644 drivers/baseband/turbo_sw/version.map delete mode 100644 drivers/common/qat/version.map delete mode 100644 drivers/compress/isal/version.map delete mode 100644 drivers/compress/mlx5/version.map delete mode 100644 drivers/compress/octeontx/version.map delete mode 100644 drivers/compress/zlib/version.map delete mode 100644 drivers/crypto/armv8/version.map delete mode 100644 drivers/crypto/bcmfs/version.map delete mode 100644 drivers/crypto/caam_jr/version.map delete mode 100644 drivers/crypto/ccp/version.map delete mode 100644 drivers/crypto/ipsec_mb/version.map delete mode 100644 drivers/crypto/mlx5/version.map delete mode 100644 drivers/crypto/mvsam/version.map delete mode 100644 drivers/crypto/nitrox/version.map delete mode 100644 drivers/crypto/null/version.map delete mode 100644 drivers/crypto/openssl/version.map delete mode 100644 drivers/crypto/virtio/version.map delete mode 100644 drivers/dma/cnxk/version.map delete mode 100644 drivers/dma/dpaa/version.map delete mode 100644 drivers/dma/hisilicon/version.map delete mode 100644 drivers/dma/idxd/version.map delete mode 100644 drivers/dma/ioat/version.map delete mode 100644 drivers/dma/skeleton/version.map delete mode 100644 drivers/event/cnxk/version.map delete mode 100644 drivers/event/dpaa/version.map delete mode 100644 drivers/event/dpaa2/version.map delete mode 100644 drivers/event/dsw/version.map delete mode 100644 drivers/event/octeontx/version.map delete mode 100644 drivers/event/opdl/version.map delete mode 100644 drivers/event/skeleton/version.map delete mode 100644 drivers/event/sw/version.map delete mode 100644 drivers/gpu/cuda/version.map delete mode 100644 drivers/mempool/bucket/version.map delete mode 100644 drivers/mempool/cnxk/version.map delete mode 100644 drivers/mempool/octeontx/version.map delete mode 100644 drivers/mempool/ring/version.map delete mode 100644 drivers/mempool/stack/version.map delete mode 100644 drivers/net/af_packet/version.map delete mode 100644 drivers/net/af_xdp/version.map delete mode 100644 drivers/net/ark/version.map delete mode 100644 drivers/net/avp/version.map delete mode 100644 drivers/net/axgbe/version.map delete mode 100644 drivers/net/bnx2x/version.map delete mode 100644 drivers/net/cxgbe/version.map delete mode 100644 drivers/net/e1000/version.map delete mode 100644 drivers/net/ena/version.map delete mode 100644 drivers/net/enetc/version.map delete mode 100644 drivers/net/enetfec/version.map delete mode 100644 drivers/net/enic/version.map delete mode 100644 drivers/net/failsafe/version.map delete mode 100644 drivers/net/fm10k/version.map delete mode 100644 drivers/net/hinic/version.map delete mode 100644 drivers/net/hns3/version.map delete mode 100644 drivers/net/igc/version.map delete mode 100644 drivers/net/ionic/version.map delete mode 100644 drivers/net/kni/version.map delete mode 100644 drivers/net/liquidio/version.map delete mode 100644 drivers/net/memif/version.map delete mode 100644 drivers/net/mlx4/version.map delete mode 100644 drivers/net/mvneta/version.map delete mode 100644 drivers/net/mvpp2/version.map delete mode 100644 drivers/net/netvsc/version.map delete mode 100644 drivers/net/nfb/version.map delete mode 100644 drivers/net/nfp/version.map delete mode 100644 drivers/net/ngbe/version.map delete mode 100644 drivers/net/null/version.map delete mode 100644 drivers/net/octeon_ep/version.map delete mode 100644 drivers/net/pcap/version.map delete mode 100644 drivers/net/pfe/version.map delete mode 100644 drivers/net/qede/version.map delete mode 100644 drivers/net/sfc/version.map delete mode 100644 drivers/net/tap/version.map delete mode 100644 drivers/net/thunderx/version.map delete mode 100644 drivers/net/txgbe/version.map delete mode 100644 drivers/net/vdev_netvsc/version.map delete mode 100644 drivers/net/virtio/version.map delete mode 100644 drivers/net/vmxnet3/version.map delete mode 100644 drivers/raw/cnxk_bphy/version.map delete mode 100644 drivers/raw/cnxk_gpio/version.map delete mode 100644 drivers/raw/dpaa2_cmdif/version.map delete mode 100644 drivers/raw/ntb/version.map delete mode 100644 drivers/raw/skeleton/version.map delete mode 100644 drivers/regex/cn9k/version.map delete mode 100644 drivers/regex/mlx5/version.map delete mode 100644 drivers/vdpa/ifc/version.map delete mode 100644 drivers/vdpa/mlx5/version.map delete mode 100644 drivers/vdpa/sfc/version.map diff --git a/drivers/baseband/la12xx/version.map b/drivers/baseband/la12xx/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/baseband/la12xx/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/baseband/null/version.map b/drivers/baseband/null/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/baseband/null/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/baseband/turbo_sw/version.map b/drivers/baseband/turbo_sw/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/baseband/turbo_sw/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/common/qat/version.map b/drivers/common/qat/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/common/qat/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/compress/isal/version.map b/drivers/compress/isal/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/compress/isal/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/compress/mlx5/version.map b/drivers/compress/mlx5/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/compress/mlx5/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/compress/octeontx/version.map b/drivers/compress/octeontx/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/compress/octeontx/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/compress/zlib/version.map b/drivers/compress/zlib/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/compress/zlib/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/crypto/armv8/version.map b/drivers/crypto/armv8/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/crypto/armv8/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/crypto/bcmfs/version.map b/drivers/crypto/bcmfs/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/crypto/bcmfs/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/crypto/caam_jr/version.map b/drivers/crypto/caam_jr/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/crypto/caam_jr/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/crypto/ccp/version.map b/drivers/crypto/ccp/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/crypto/ccp/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/crypto/ipsec_mb/version.map b/drivers/crypto/ipsec_mb/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/crypto/ipsec_mb/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/crypto/mlx5/version.map b/drivers/crypto/mlx5/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/crypto/mlx5/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/crypto/mvsam/version.map b/drivers/crypto/mvsam/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/crypto/mvsam/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/crypto/nitrox/version.map b/drivers/crypto/nitrox/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/crypto/nitrox/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/crypto/null/version.map b/drivers/crypto/null/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/crypto/null/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/crypto/openssl/version.map b/drivers/crypto/openssl/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/crypto/openssl/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/crypto/virtio/version.map b/drivers/crypto/virtio/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/crypto/virtio/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/dma/cnxk/version.map b/drivers/dma/cnxk/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/dma/cnxk/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/dma/dpaa/version.map b/drivers/dma/dpaa/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/dma/dpaa/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/dma/hisilicon/version.map b/drivers/dma/hisilicon/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/dma/hisilicon/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/dma/idxd/version.map b/drivers/dma/idxd/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/dma/idxd/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/dma/ioat/version.map b/drivers/dma/ioat/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/dma/ioat/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/dma/skeleton/version.map b/drivers/dma/skeleton/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/dma/skeleton/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/event/cnxk/version.map b/drivers/event/cnxk/version.map deleted file mode 100644 index ee80c51721..0000000000 --- a/drivers/event/cnxk/version.map +++ /dev/null @@ -1,3 +0,0 @@ -INTERNAL { - local: *; -}; diff --git a/drivers/event/dpaa/version.map b/drivers/event/dpaa/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/event/dpaa/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/event/dpaa2/version.map b/drivers/event/dpaa2/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/event/dpaa2/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/event/dsw/version.map b/drivers/event/dsw/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/event/dsw/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/event/octeontx/version.map b/drivers/event/octeontx/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/event/octeontx/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/event/opdl/version.map b/drivers/event/opdl/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/event/opdl/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/event/skeleton/version.map b/drivers/event/skeleton/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/event/skeleton/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/event/sw/version.map b/drivers/event/sw/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/event/sw/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/gpu/cuda/version.map b/drivers/gpu/cuda/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/gpu/cuda/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/mempool/bucket/version.map b/drivers/mempool/bucket/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/mempool/bucket/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/mempool/cnxk/version.map b/drivers/mempool/cnxk/version.map deleted file mode 100644 index ee80c51721..0000000000 --- a/drivers/mempool/cnxk/version.map +++ /dev/null @@ -1,3 +0,0 @@ -INTERNAL { - local: *; -}; diff --git a/drivers/mempool/octeontx/version.map b/drivers/mempool/octeontx/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/mempool/octeontx/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/mempool/ring/version.map b/drivers/mempool/ring/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/mempool/ring/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/mempool/stack/version.map b/drivers/mempool/stack/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/mempool/stack/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/meson.build b/drivers/meson.build index f6ba5ba4fb..1b2ad1803d 100644 --- a/drivers/meson.build +++ b/drivers/meson.build @@ -1,6 +1,8 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017-2019 Intel Corporation +fs = import('fs') + # Defines the order of dependencies evaluation subdirs = [ 'common', @@ -193,38 +195,41 @@ foreach subpath:subdirs version_map = '@0@/@1@/version.map'.format(meson.current_source_dir(), drv_path) implib = 'lib' + lib_name + '.dll.a' - def_file = custom_target(lib_name + '_def', - command: [map_to_win_cmd, '@INPUT@', '@OUTPUT@'], - input: version_map, - output: '@0@_exports.def'.format(lib_name)) - - mingw_map = custom_target(lib_name + '_mingw', - command: [map_to_win_cmd, '@INPUT@', '@OUTPUT@'], - input: version_map, - output: '@0@_mingw.map'.format(lib_name)) - - lk_deps = [version_map, def_file, mingw_map] - if is_windows - if is_ms_linker - lk_args = ['-Wl,/def:' + def_file.full_path()] - if meson.version().version_compare('<0.54.0') - lk_args += ['-Wl,/implib:drivers\\' + implib] + if fs.is_file(version_map) + def_file = custom_target(lib_name + '_def', + command: [map_to_win_cmd, '@INPUT@', '@OUTPUT@'], + input: version_map, + output: '@0@_exports.def'.format(lib_name)) + + mingw_map = custom_target(lib_name + '_mingw', + command: [map_to_win_cmd, '@INPUT@', '@OUTPUT@'], + input: version_map, + output: '@0@_mingw.map'.format(lib_name)) + + lk_deps = [version_map, def_file, mingw_map] + if is_windows + if is_ms_linker + lk_args = ['-Wl,/def:' + def_file.full_path()] + if meson.version().version_compare('<0.54.0') + lk_args += ['-Wl,/implib:drivers\\' + implib] + endif + else + lk_args = ['-Wl,--version-script=' + mingw_map.full_path()] endif else - lk_args = ['-Wl,--version-script=' + mingw_map.full_path()] - endif - else - lk_args = ['-Wl,--version-script=' + version_map] - if developer_mode - # on unix systems check the output of the - # check-symbols.sh script, using it as a - # dependency of the .so build - lk_deps += custom_target(lib_name + '.sym_chk', - command: [check_symbols, version_map, '@INPUT@'], - capture: true, - input: static_lib, - output: lib_name + '.sym_chk') + lk_args = ['-Wl,--version-script=' + version_map] + if developer_mode + # on unix systems check the output of the + # check-symbols.sh script, using it as a + # dependency of the .so build + lk_deps += custom_target(lib_name + '.sym_chk', + command: [check_symbols, version_map, '@INPUT@'], + capture: true, + input: static_lib, + output: lib_name + '.sym_chk') + endif endif + endif shared_lib = shared_library(lib_name, sources, diff --git a/drivers/net/af_packet/version.map b/drivers/net/af_packet/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/af_packet/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/af_xdp/version.map b/drivers/net/af_xdp/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/af_xdp/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/ark/version.map b/drivers/net/ark/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/ark/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/avp/version.map b/drivers/net/avp/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/avp/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/axgbe/version.map b/drivers/net/axgbe/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/axgbe/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/bnx2x/version.map b/drivers/net/bnx2x/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/bnx2x/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/cxgbe/version.map b/drivers/net/cxgbe/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/cxgbe/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/e1000/version.map b/drivers/net/e1000/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/e1000/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/ena/version.map b/drivers/net/ena/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/ena/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/enetc/version.map b/drivers/net/enetc/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/enetc/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/enetfec/version.map b/drivers/net/enetfec/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/enetfec/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/enic/version.map b/drivers/net/enic/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/enic/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/failsafe/version.map b/drivers/net/failsafe/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/failsafe/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/fm10k/version.map b/drivers/net/fm10k/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/fm10k/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/hinic/version.map b/drivers/net/hinic/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/hinic/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/hns3/version.map b/drivers/net/hns3/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/hns3/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/igc/version.map b/drivers/net/igc/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/igc/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/ionic/version.map b/drivers/net/ionic/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/ionic/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/kni/version.map b/drivers/net/kni/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/kni/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/liquidio/version.map b/drivers/net/liquidio/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/liquidio/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/memif/version.map b/drivers/net/memif/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/memif/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/mlx4/version.map b/drivers/net/mlx4/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/mlx4/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/mvneta/version.map b/drivers/net/mvneta/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/mvneta/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/mvpp2/version.map b/drivers/net/mvpp2/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/mvpp2/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/netvsc/version.map b/drivers/net/netvsc/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/netvsc/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/nfb/version.map b/drivers/net/nfb/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/nfb/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/nfp/version.map b/drivers/net/nfp/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/nfp/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/ngbe/version.map b/drivers/net/ngbe/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/ngbe/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/null/version.map b/drivers/net/null/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/null/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/octeon_ep/version.map b/drivers/net/octeon_ep/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/octeon_ep/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/pcap/version.map b/drivers/net/pcap/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/pcap/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/pfe/version.map b/drivers/net/pfe/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/pfe/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/qede/version.map b/drivers/net/qede/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/qede/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/sfc/version.map b/drivers/net/sfc/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/sfc/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/tap/version.map b/drivers/net/tap/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/tap/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/thunderx/version.map b/drivers/net/thunderx/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/thunderx/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/txgbe/version.map b/drivers/net/txgbe/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/txgbe/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/vdev_netvsc/version.map b/drivers/net/vdev_netvsc/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/vdev_netvsc/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/virtio/version.map b/drivers/net/virtio/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/virtio/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/net/vmxnet3/version.map b/drivers/net/vmxnet3/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/net/vmxnet3/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/raw/cnxk_bphy/version.map b/drivers/raw/cnxk_bphy/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/raw/cnxk_bphy/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/raw/cnxk_gpio/version.map b/drivers/raw/cnxk_gpio/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/raw/cnxk_gpio/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/raw/dpaa2_cmdif/version.map b/drivers/raw/dpaa2_cmdif/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/raw/dpaa2_cmdif/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/raw/ntb/version.map b/drivers/raw/ntb/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/raw/ntb/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/raw/skeleton/version.map b/drivers/raw/skeleton/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/raw/skeleton/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/regex/cn9k/version.map b/drivers/regex/cn9k/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/regex/cn9k/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/regex/mlx5/version.map b/drivers/regex/mlx5/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/regex/mlx5/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/vdpa/ifc/version.map b/drivers/vdpa/ifc/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/vdpa/ifc/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/vdpa/mlx5/version.map b/drivers/vdpa/mlx5/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/vdpa/mlx5/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; diff --git a/drivers/vdpa/sfc/version.map b/drivers/vdpa/sfc/version.map deleted file mode 100644 index 78c3585d7c..0000000000 --- a/drivers/vdpa/sfc/version.map +++ /dev/null @@ -1,3 +0,0 @@ -DPDK_23 { - local: *; -}; -- 2.27.0