1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2021 Marvell, Inc
5 if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
7 reason = 'only supported on 64-bit Linux'
11 config_flag_fmt = 'RTE_LIBRTE_@0@_COMMON'
12 deps = ['eal', 'pci', 'bus_pci', 'mbuf', 'security']
15 'roc_ae_fpm_tables.c',
34 'roc_nix_inl_dev_irq.c',
52 'roc_npc_mcam_dump.c',
65 # Security common code
66 sources += files('cnxk_security.c')
68 # common DPDK utilities code
69 sources += files('cnxk_utils.c')
71 includes += include_directories('../../bus/pci')
72 includes += include_directories('../../../lib/net')
73 includes += include_directories('../../../lib/ethdev')
74 includes += include_directories('../../../lib/meter')
76 # Telemetry common code
77 sources += files('cnxk_telemetry_bphy.c',
78 'cnxk_telemetry_npa.c',
79 'cnxk_telemetry_nix.c')
81 deps += ['bus_pci', 'net', 'telemetry']