1# SPDX-License-Identifier: BSD-3-Clause 2# Copyright 2018 NXP 3 4version = 2 5 6if not is_linux 7 build = false 8 reason = 'only supported on linux' 9endif 10 11deps += ['mempool_dpaa2'] 12sources = files('base/dpaa2_hw_dpni.c', 13 'dpaa2_mux.c', 14 'dpaa2_ethdev.c', 15 'dpaa2_flow.c', 16 'dpaa2_rxtx.c', 17 'dpaa2_sparser.c', 18 'mc/dpkg.c', 19 'mc/dpdmux.c', 20 'mc/dpni.c') 21 22if dpdk_conf.has('RTE_LIBRTE_IEEE1588') 23 sources += files('mc/dprtc.c') 24 sources += files('dpaa2_ptp.c') 25endif 26 27includes += include_directories('base', 'mc') 28 29# depends on fslmc bus which uses experimental API 30allow_experimental_apis = true 31 32install_headers('rte_pmd_dpaa2.h') 33