198e198767c6756df45df5f4635de7e9ab8ca21f
[dpdk.git] / drivers / net / axgbe / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright (c) 2018 Advanced Micro Devices, Inc. All rights reserved.
3
4 if not is_linux
5         build = false
6         reason = 'only supported on Linux'
7 endif
8
9 sources = files('axgbe_ethdev.c',
10                 'axgbe_dev.c',
11                 'axgbe_mdio.c',
12                 'axgbe_phy_impl.c',
13                 'axgbe_i2c.c',
14                 'axgbe_rxtx.c')
15
16 cflags += '-Wno-cast-qual'
17
18 if arch_subdir == 'x86'
19         sources += files('axgbe_rxtx_vec_sse.c')
20 endif