New upstream version 18.08
[deb_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 host_machine.system() != 'linux'
5         build = false
6 endif
7
8 sources = files('axgbe_ethdev.c',
9                 'axgbe_dev.c',
10                 'axgbe_mdio.c',
11                 'axgbe_phy_impl.c',
12                 'axgbe_i2c.c',
13                 'axgbe_rxtx.c')
14
15 cflags += '-Wno-cast-qual'
16
17 if arch_subdir == 'x86'
18         sources += files('axgbe_rxtx_vec_sse.c')
19 endif