16ec78c24SHemant Agrawal# SPDX-License-Identifier: BSD-3-Clause 22ffc1057SHemant Agrawal# Copyright 2018-2020 NXP 36ec78c24SHemant Agrawal 4adf93ca5SBruce Richardsonif not is_linux 56ec78c24SHemant Agrawal build = false 6135155a8SThomas Monjalon reason = 'only supported on Linux' 76ec78c24SHemant Agrawalendif 8b67dde5bSBruce Richardsondeps += ['mempool_dpaa'] 96ec78c24SHemant Agrawal 104ad4b20aSBruce Richardsonsources = files( 114ad4b20aSBruce Richardson 'dpaa_ethdev.c', 122ffc1057SHemant Agrawal 'fmlib/fm_lib.c', 13663ff698SJun Yang 'fmlib/fm_vsp.c', 144defbc8cSSachin Saxena 'dpaa_flow.c', 15f5fe3eedSJun Yang 'dpaa_rxtx.c', 164ad4b20aSBruce Richardson 'dpaa_fmc.c', 17*615352f5SVanshika Shukla 'dpaa_ptp.c', 184ad4b20aSBruce Richardson) 196ec78c24SHemant Agrawal 20524a0d5dSBruce Richardsonif cc.has_argument('-Wno-pointer-arith') 21524a0d5dSBruce Richardson cflags += '-Wno-pointer-arith' 22524a0d5dSBruce Richardsonendif 23524a0d5dSBruce Richardson 2430105f66SDavid Marchandheaders = files('rte_pmd_dpaa.h') 25