common/cnxk: add CPT configuration
[dpdk.git] / drivers / common / cnxk / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2021 Marvell, Inc
3 #
4
5 if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
6     build = false
7     reason = 'only supported on 64-bit Linux'
8     subdir_done()
9 endif
10
11 config_flag_fmt = 'RTE_LIBRTE_@0@_COMMON'
12 deps = ['eal', 'pci', 'bus_pci', 'mbuf']
13 sources = files(
14         'roc_bphy.c',
15         'roc_bphy_cgx.c',
16         'roc_bphy_irq.c',
17         'roc_cpt.c',
18         'roc_dev.c',
19         'roc_idev.c',
20         'roc_irq.c',
21         'roc_mbox.c',
22         'roc_model.c',
23         'roc_nix.c',
24         'roc_nix_debug.c',
25         'roc_nix_fc.c',
26         'roc_nix_irq.c',
27         'roc_nix_mac.c',
28         'roc_nix_mcast.c',
29         'roc_nix_npc.c',
30         'roc_nix_ops.c',
31         'roc_nix_ptp.c',
32         'roc_nix_queue.c',
33         'roc_nix_rss.c',
34         'roc_nix_stats.c',
35         'roc_nix_tm.c',
36         'roc_nix_tm_ops.c',
37         'roc_nix_tm_utils.c',
38         'roc_nix_vlan.c',
39         'roc_npa.c',
40         'roc_npa_debug.c',
41         'roc_npa_irq.c',
42         'roc_npc.c',
43         'roc_npc_mcam.c',
44         'roc_npc_mcam_dump.c',
45         'roc_npc_parse.c',
46         'roc_npc_utils.c',
47         'roc_platform.c',
48         'roc_sso.c',
49         'roc_sso_debug.c',
50         'roc_sso_irq.c',
51         'roc_tim.c',
52         'roc_tim_irq.c',
53         'roc_utils.c',
54 )
55 includes += include_directories('../../bus/pci')