]>
Commit | Line | Data |
---|---|---|
11fdf7f2 TL |
1 | # SPDX-License-Identifier: BSD-3-Clause |
2 | # Copyright (c) 2018 Advanced Micro Devices, Inc. All rights reserved. | |
3 | ||
9f95a23c | 4 | if not is_linux |
11fdf7f2 TL |
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 |