From: Ophir Munk Date: Mon, 28 Dec 2020 09:54:26 +0000 (+0200) Subject: common/mlx5: generate autoconf file on Windows X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=7fb1c77b681c4a3b58eb254b9475b862cad799ae;p=dpdk.git 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 Acked-by: Matan Azrad --- diff --git a/drivers/common/mlx5/windows/meson.build b/drivers/common/mlx5/windows/meson.build index d600d92aa1..16349c34f1 100644 --- a/drivers/common/mlx5/windows/meson.build +++ b/drivers/common/mlx5/windows/meson.build @@ -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)