xref: /dpdk/drivers/net/axgbe/meson.build (revision 7f12dfdc)
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright (c) 2018 Advanced Micro Devices, Inc. All rights reserved.
3
4if not is_linux
5	build = false
6	reason = 'only supported on linux'
7endif
8
9allow_experimental_apis = true
10
11sources = 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
18cflags += '-Wno-cast-qual'
19
20if arch_subdir == 'x86'
21	sources += files('axgbe_rxtx_vec_sse.c')
22endif
23