common/octeontx2: add polling based response mbox message
[dpdk.git] / drivers / common / octeontx2 / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(C) 2019 Marvell International Ltd.
3 #
4
5 allow_experimental_apis = true
6
7 sources= files('otx2_dev.c',
8                 'otx2_irq.c',
9                 'otx2_mbox.c',
10                 'otx2_common.c',
11                 'otx2_sec_idev.c',
12                )
13
14 extra_flags = []
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']
18 endif
19
20 foreach flag: extra_flags
21         if cc.has_argument(flag)
22                 cflags += flag
23         endif
24 endforeach
25
26 deps = ['eal', 'pci', 'ethdev']
27 includes += include_directories('../../common/octeontx2',
28                 '../../mempool/octeontx2', '../../bus/pci')