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