# SPDX-License-Identifier: BSD-3-Clause
-# Copyright 2018 NXP
+# Copyright 2018-2021 NXP
-if host_machine.system() != 'linux'
- build = false
+if not is_linux
+ build = false
+ reason = 'only supported on Linux'
endif
-deps += ['bus_dpaa', 'security']
-sources = files('dpaa_sec.c')
+deps += ['bus_dpaa', 'mempool_dpaa', 'security']
+sources = files('dpaa_sec.c', 'dpaa_sec_raw_dp.c')
-allow_experimental_apis = true
-
-includes += include_directories('../dpaa2_sec/')
+includes += include_directories('../../bus/dpaa/include')
+includes += include_directories('../../common/dpaax')
+includes += include_directories('../../common/dpaax/caamflib/')