1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(C) 2019 Marvell International Ltd.
5 allow_experimental_apis = true
7 sources= files('otx2_dev.c',
15 # This integrated controller runs only on a arm64 machine, remove 32bit warnings
16 if not dpdk_conf.get('RTE_ARCH_64')
17 extra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast']
20 foreach flag: extra_flags
21 if cc.has_argument(flag)
26 deps = ['eal', 'pci', 'ethdev']
27 includes += include_directories('../../common/octeontx2',
28 '../../mempool/octeontx2', '../../bus/pci')