1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(C) 2019 Marvell International Ltd.
5 sources = files('otx2_worker.c',
10 'otx2_evdev_selftest.c',
15 allow_experimental_apis = true
18 # This integrated controller runs only on a arm64 machine, remove 32bit warnings
19 if not dpdk_conf.get('RTE_ARCH_64')
20 extra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast']
23 # for clang 32-bit compiles we need libatomic for 64-bit atomic ops
24 if cc.get_id() == 'clang' and dpdk_conf.get('RTE_ARCH_64') == false
25 ext_deps += cc.find_library('atomic')
28 foreach flag: extra_flags
29 if cc.has_argument(flag)
34 deps += ['bus_pci', 'common_octeontx2', 'mempool_octeontx2', 'pmd_octeontx2']