2018-03-14 07:56:05 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright 2018 NXP
|
|
|
|
|
2019-04-09 10:55:36 +00:00
|
|
|
if not is_linux
|
2019-06-05 20:22:41 +00:00
|
|
|
build = false
|
|
|
|
reason = 'only supported on linux'
|
2018-03-14 07:56:05 +00:00
|
|
|
endif
|
|
|
|
|
2018-10-15 12:01:56 +00:00
|
|
|
deps += ['common_dpaax', 'eventdev', 'kvargs']
|
2018-03-14 07:56:05 +00:00
|
|
|
sources = files('fslmc_bus.c',
|
|
|
|
'fslmc_vfio.c',
|
|
|
|
'mc/dpbp.c',
|
|
|
|
'mc/dpci.c',
|
|
|
|
'mc/dpcon.c',
|
2018-05-03 16:06:04 +00:00
|
|
|
'mc/dpdmai.c',
|
2018-03-14 07:56:05 +00:00
|
|
|
'mc/dpio.c',
|
|
|
|
'mc/dpmng.c',
|
|
|
|
'mc/mc_sys.c',
|
|
|
|
'portal/dpaa2_hw_dpbp.c',
|
|
|
|
'portal/dpaa2_hw_dpci.c',
|
|
|
|
'portal/dpaa2_hw_dpio.c',
|
|
|
|
'qbman/qbman_portal.c',
|
|
|
|
'qbman/qbman_debug.c')
|
|
|
|
|
|
|
|
includes += include_directories('mc', 'qbman/include', 'portal')
|