366b289276801613fd235d87bf660a20b7d5dde0
[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 allow_experimental_apis = true
10
11 sources = files('axgbe_ethdev.c',
12                 'axgbe_dev.c',
13                 'axgbe_mdio.c',
14                 'axgbe_phy_impl.c',
15                 'axgbe_i2c.c',
16                 'axgbe_rxtx.c')
17
18 cflags += '-Wno-cast-qual'
19
20 if arch_subdir == 'x86'
21         sources += files('axgbe_rxtx_vec_sse.c')
22 endif