2019-06-25 11:12:58 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright 2018 NXP
|
|
|
|
|
2020-06-18 16:55:50 +00:00
|
|
|
if not is_linux
|
|
|
|
build = false
|
|
|
|
reason = 'only supported on linux'
|
2019-06-25 11:12:58 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
deps += ['security', 'mempool_dpaa2']
|
|
|
|
sources = files('dpaa2_sec_dpseci.c',
|
|
|
|
'mc/dpseci.c')
|
|
|
|
|
|
|
|
allow_experimental_apis = true
|
|
|
|
|
2021-01-28 17:08:59 +00:00
|
|
|
# FIXME: temporary solution for Bugzilla 469
|
|
|
|
if (toolchain == 'gcc' and cc.version().version_compare('>=10.0.0'))
|
|
|
|
cflags += '-fcommon'
|
|
|
|
endif
|
|
|
|
|
2020-06-18 16:55:50 +00:00
|
|
|
includes += include_directories('mc', '../../common/dpaax', '../../common/dpaax/caamflib')
|