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