common/cnxk: support NIX PTP
[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('roc_dev.c',
14                 'roc_idev.c',
15                 'roc_irq.c',
16                 'roc_mbox.c',
17                 'roc_model.c',
18                 'roc_nix.c',
19                 'roc_nix_irq.c',
20                 'roc_nix_mac.c',
21                 'roc_nix_mcast.c',
22                 'roc_nix_npc.c',
23                 'roc_nix_ptp.c',
24                 'roc_nix_queue.c',
25                 'roc_nix_rss.c',
26                 'roc_npa.c',
27                 'roc_npa_debug.c',
28                 'roc_npa_irq.c',
29                 'roc_platform.c',
30                 'roc_utils.c')
31 includes += include_directories('../../bus/pci')