drivers: omit symbol map when unneeded

In this patch, we removed the necessity of the version files and
you don't need to update these files for each release, you can just
remove them.

Suggested-by: Ferruh Yigit <ferruh.yigit@amd.com>
Signed-off-by: Abdullah Ömer Yamaç <omer.yamac@ceng.metu.edu.tr>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Tested-by: Ferruh Yigit <ferruh.yigit@amd.com>
This commit is contained in:
Abdullah Ömer Yamaç 2022-10-12 13:42:17 +03:00 committed by David Marchand
parent d7b705b47f
commit 7dde9c844a
94 changed files with 33 additions and 306 deletions

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
INTERNAL {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
INTERNAL {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,6 +1,8 @@
# SPDX-License-Identifier: BSD-3-Clause # SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017-2019 Intel Corporation # Copyright(c) 2017-2019 Intel Corporation
fs = import('fs')
# Defines the order of dependencies evaluation # Defines the order of dependencies evaluation
subdirs = [ subdirs = [
'common', 'common',
@ -206,37 +208,41 @@ foreach subpath:subdirs
version_map = '@0@/@1@/version.map'.format(meson.current_source_dir(), drv_path) version_map = '@0@/@1@/version.map'.format(meson.current_source_dir(), drv_path)
implib = 'lib' + lib_name + '.dll.a' implib = 'lib' + lib_name + '.dll.a'
def_file = custom_target(lib_name + '_def', lk_deps = []
command: [map_to_win_cmd, '@INPUT@', '@OUTPUT@'], lk_args = []
input: version_map, if fs.is_file(version_map)
output: '@0@_exports.def'.format(lib_name)) 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', mingw_map = custom_target(lib_name + '_mingw',
command: [map_to_win_cmd, '@INPUT@', '@OUTPUT@'], command: [map_to_win_cmd, '@INPUT@', '@OUTPUT@'],
input: version_map, input: version_map,
output: '@0@_mingw.map'.format(lib_name)) output: '@0@_mingw.map'.format(lib_name))
lk_deps = [version_map, def_file, mingw_map] lk_deps = [version_map, def_file, mingw_map]
if is_windows if is_windows
if is_ms_linker if is_ms_linker
lk_args = ['-Wl,/def:' + def_file.full_path()] lk_args = ['-Wl,/def:' + def_file.full_path()]
if meson.version().version_compare('<0.54.0') if meson.version().version_compare('<0.54.0')
lk_args += ['-Wl,/implib:drivers\\' + implib] lk_args += ['-Wl,/implib:drivers\\' + implib]
endif
else
lk_args = ['-Wl,--version-script=' + mingw_map.full_path()]
endif endif
else else
lk_args = ['-Wl,--version-script=' + mingw_map.full_path()] lk_args = ['-Wl,--version-script=' + version_map]
endif if developer_mode
else # on unix systems check the output of the
lk_args = ['-Wl,--version-script=' + version_map] # check-symbols.sh script, using it as a
if developer_mode # dependency of the .so build
# on unix systems check the output of the lk_deps += custom_target(lib_name + '.sym_chk',
# check-symbols.sh script, using it as a command: [check_symbols, version_map, '@INPUT@'],
# dependency of the .so build capture: true,
lk_deps += custom_target(lib_name + '.sym_chk', input: static_lib,
command: [check_symbols, version_map, '@INPUT@'], output: lib_name + '.sym_chk')
capture: true, endif
input: static_lib,
output: lib_name + '.sym_chk')
endif endif
endif endif

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};

View File

@ -1,3 +0,0 @@
DPDK_23 {
local: *;
};