net/null: remove redundant check
[dpdk.git] / drivers / common / octeontx2 / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(C) 2019 Marvell International Ltd.
3 #
4
5 sources= files('otx2_dev.c',
6                 'otx2_irq.c',
7                 'otx2_mbox.c',
8                 'otx2_common.c',
9                 'otx2_sec_idev.c',
10                )
11
12 extra_flags = []
13 # This integrated controller runs only on a arm64 machine, remove 32bit warnings
14 if not dpdk_conf.get('RTE_ARCH_64')
15         extra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast']
16 endif
17
18 foreach flag: extra_flags
19         if cc.has_argument(flag)
20                 cflags += flag
21         endif
22 endforeach
23
24 deps = ['eal', 'pci', 'ethdev']
25 includes += include_directories('../../common/octeontx2',
26                 '../../mempool/octeontx2', '../../bus/pci')