9fde40f0e92892f216d196ffb07a07f988ca5f19
[dpdk.git] / drivers / mempool / octeontx2 / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(C) 2019 Marvell International Ltd.
3 #
4
5 sources = files('otx2_mempool_ops.c',
6                 'otx2_mempool.c',
7                 'otx2_mempool_irq.c',
8                 'otx2_mempool_debug.c'
9                 )
10
11 extra_flags = []
12 # This integrated controller runs only on a arm64 machine, remove 32bit warnings
13 if not dpdk_conf.get('RTE_ARCH_64')
14         extra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast']
15 endif
16
17 foreach flag: extra_flags
18         if cc.has_argument(flag)
19                 cflags += flag
20         endif
21 endforeach
22
23 deps += ['eal', 'mbuf', 'kvargs', 'bus_pci', 'common_octeontx2', 'mempool']