common/mlx5: generate autoconf file on Windows

File mlx5_autoconf.h is generated under Windows to maintain
compatibility with the Linux build system.  This file is included in
Linux/Windows shared source files therefore it is required. Currently
the file is created empty.

Signed-off-by: Ophir Munk <ophirmu@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
This commit is contained in:
Ophir Munk 2020-12-28 11:54:26 +02:00 committed by Ferruh Yigit
parent e11fe027f6
commit 7fb1c77b68

View File

@ -39,3 +39,7 @@ if get_option('buildtype').contains('debug')
else
cflags += [ '-UPEDANTIC' ]
endif
# Generate an empty mlx5_autoconf.h file for compatibility with Linux
config = configuration_data()
configure_file(output : 'mlx5_autoconf.h', configuration : config)