X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fmlx5%2Fmeson.build;h=f2fafbdd0567eae66b98e7c2582533f356d25d10;hb=41e026c1b3fd07ee6520e3d5d4ec0787d0dac300;hp=23462d15f0531de47e8c05302f805480623c283a;hpb=2e86c4e5c753446f001633bd752cbbb2c4d2c711;p=dpdk.git diff --git a/drivers/net/mlx5/meson.build b/drivers/net/mlx5/meson.build index 23462d15f0..f2fafbdd05 100644 --- a/drivers/net/mlx5/meson.build +++ b/drivers/net/mlx5/meson.build @@ -15,7 +15,7 @@ sources = files( 'mlx5_flow.c', 'mlx5_flow_meter.c', 'mlx5_flow_dv.c', - 'mlx5_flow_verbs.c', + 'mlx5_flow_age.c', 'mlx5_mac.c', 'mlx5_mr.c', 'mlx5_rss.c', @@ -28,12 +28,20 @@ sources = files( 'mlx5_txpp.c', 'mlx5_vlan.c', 'mlx5_utils.c', + 'mlx5_devx.c', ) -if (dpdk_conf.has('RTE_ARCH_X86_64') - or dpdk_conf.has('RTE_ARCH_ARM64') - or dpdk_conf.has('RTE_ARCH_PPC_64')) - sources += files('mlx5_rxtx_vec.c') + +if is_linux + sources += files( + 'mlx5_flow_verbs.c', + ) + if (dpdk_conf.has('RTE_ARCH_X86_64') + or dpdk_conf.has('RTE_ARCH_ARM64') + or dpdk_conf.has('RTE_ARCH_PPC_64')) + sources += files('mlx5_rxtx_vec.c') + endif endif + cflags_options = [ '-std=c11', '-Wno-strict-prototypes',