build: skip pmdinfogen on Windows
pmdinfogen generation is currently unsupported for Windows. The relevant part in meson.build is skipped. Signed-off-by: Tal Shnaiderman <talshn@mellanox.com>
This commit is contained in:
parent
014a7ec6c4
commit
abd5c69bf6
@ -111,6 +111,7 @@ foreach class:dpdk_driver_classes
|
|||||||
# lib and then running pmdinfogen on the contents of
|
# lib and then running pmdinfogen on the contents of
|
||||||
# that lib. The final lib reuses the object files and
|
# that lib. The final lib reuses the object files and
|
||||||
# adds in the new source file.
|
# adds in the new source file.
|
||||||
|
if not is_windows
|
||||||
out_filename = lib_name + '.pmd.c'
|
out_filename = lib_name + '.pmd.c'
|
||||||
tmp_lib = static_library('tmp_' + lib_name,
|
tmp_lib = static_library('tmp_' + lib_name,
|
||||||
sources,
|
sources,
|
||||||
@ -123,7 +124,7 @@ foreach class:dpdk_driver_classes
|
|||||||
'@OUTPUT@', pmdinfogen],
|
'@OUTPUT@', pmdinfogen],
|
||||||
output: out_filename,
|
output: out_filename,
|
||||||
depends: [pmdinfogen, tmp_lib])
|
depends: [pmdinfogen, tmp_lib])
|
||||||
|
endif
|
||||||
version_map = '@0@/@1@/@2@_version.map'.format(
|
version_map = '@0@/@1@/@2@_version.map'.format(
|
||||||
meson.current_source_dir(),
|
meson.current_source_dir(),
|
||||||
drv_path, lib_name)
|
drv_path, lib_name)
|
||||||
|
Loading…
Reference in New Issue
Block a user