drivers: change indentation in build files
[dpdk.git] / drivers / net / 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     subdir_done()
9 endif
10
11 if not dpdk_conf.get('RTE_ARCH_64')
12     build = false
13     reason = 'only supported on 64-bit'
14     subdir_done()
15 endif
16
17 sources = files(
18         'otx2_rx.c',
19         'otx2_tx.c',
20         'otx2_tm.c',
21         'otx2_rss.c',
22         'otx2_mac.c',
23         'otx2_ptp.c',
24         'otx2_flow.c',
25         'otx2_link.c',
26         'otx2_vlan.c',
27         'otx2_stats.c',
28         'otx2_mcast.c',
29         'otx2_lookup.c',
30         'otx2_ethdev.c',
31         'otx2_flow_ctrl.c',
32         'otx2_flow_dump.c',
33         'otx2_flow_parse.c',
34         'otx2_flow_utils.c',
35         'otx2_ethdev_irq.c',
36         'otx2_ethdev_ops.c',
37         'otx2_ethdev_sec.c',
38         'otx2_ethdev_debug.c',
39         'otx2_ethdev_devargs.c',
40 )
41
42 deps += ['bus_pci', 'cryptodev', 'eventdev', 'security']
43 deps += ['common_octeontx2', 'mempool_octeontx2']
44
45 extra_flags = ['-flax-vector-conversions']
46 foreach flag: extra_flags
47     if cc.has_argument(flag)
48         cflags += flag
49     endif
50 endforeach
51
52 includes += include_directories('../../common/cpt')
53 includes += include_directories('../../crypto/octeontx2')