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 9sources = 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 16cflags += '-Wno-cast-qual' 17 18if arch_subdir == 'x86' 19 sources += files('axgbe_rxtx_vec_sse.c') 20endif 21