mempool/octeontx2: add build infra and device probe
[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.c',
6                 )
7
8 extra_flags = []
9 # This integrated controller runs only on a arm64 machine, remove 32bit warnings
10 if not dpdk_conf.get('RTE_ARCH_64')
11         extra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast']
12 endif
13
14 foreach flag: extra_flags
15         if cc.has_argument(flag)
16                 cflags += flag
17         endif
18 endforeach
19
20 deps += ['eal', 'mbuf', 'kvargs', 'bus_pci', 'common_octeontx2', 'mempool']