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