crypto/octeontx2: add PMD skeleton
[dpdk.git] / drivers / crypto / octeontx2 / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright (C) 2019 Marvell International Ltd.
3
4 if host_machine.system() != 'linux'
5         build = false
6 endif
7
8 deps += ['bus_pci']
9 deps += ['common_cpt']
10 deps += ['common_octeontx2']
11 name = 'octeontx2_crypto'
12
13 sources = files('otx2_cryptodev.c',
14                 'otx2_cryptodev_ops.c')
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 includes += include_directories('../../common/cpt')
29 includes += include_directories('../../common/octeontx2')