56ea803e87
Rather than have two files that keeps getting out of sync, let's annotate the version.map to generate the Windows export file. Some mlx5 symbols (haswell_broadwell_cpu, mlx5_glue, mlx5_os_*) were only exported for Windows. All of them are available and used by Linux too, so this patch adds them in version.map. Note: Existing version.map annotation achieved with: $ for dir in lib/librte_eal drivers/common/mlx5; do ./buildtools/map-list-symbol.sh $dir/*.map | while read file version sym; do ! git grep -qw $sym $dir/*.def || continue; sed -i -e "s/$sym;/$sym; # WINDOWS_NO_EXPORT/" $dir/*.map; done; done Signed-off-by: David Marchand <david.marchand@redhat.com> Tested-by: Tal Shnaiderman <talshn@nvidia.com> Acked-by: Thomas Monjalon <thomas@monjalon.net> |
||
---|---|---|
.. | ||
chkincs | ||
pkg-config | ||
binutils-avx512-check.sh | ||
call-sphinx-build.py | ||
check-symbols.sh | ||
coff.py | ||
gen-pmdinfo-cfile.py | ||
list-dir-globs.py | ||
map_to_win.py | ||
map-list-symbol.sh | ||
meson.build | ||
options-ibverbs-static.sh | ||
pmdinfogen.py | ||
symlink-drivers-solibs.sh |