f-stack/dpdk/lib/librte_eal/common/meson.build

85 lines
1.8 KiB
Meson
Raw Normal View History

2019-06-25 11:12:58 +00:00
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
2021-02-05 08:48:47 +00:00
includes += include_directories('.')
2019-06-25 11:12:58 +00:00
2021-02-05 08:48:47 +00:00
cflags += [ '-DABI_VERSION="@0@"'.format(abi_version) ]
if is_windows
sources += files(
'eal_common_bus.c',
'eal_common_class.c',
'eal_common_config.c',
'eal_common_debug.c',
'eal_common_dev.c',
'eal_common_devargs.c',
'eal_common_dynmem.c',
'eal_common_errno.c',
'eal_common_fbarray.c',
'eal_common_hexdump.c',
'eal_common_launch.c',
'eal_common_lcore.c',
'eal_common_log.c',
'eal_common_mcfg.c',
'eal_common_memalloc.c',
'eal_common_memory.c',
'eal_common_memzone.c',
'eal_common_options.c',
'eal_common_string_fns.c',
'eal_common_tailqs.c',
'eal_common_thread.c',
'eal_common_trace_points.c',
'malloc_elem.c',
'malloc_heap.c',
'rte_malloc.c',
'eal_common_timer.c',
'rte_service.c',
)
subdir_done()
endif
sources += files(
2019-06-25 11:12:58 +00:00
'eal_common_bus.c',
'eal_common_cpuflags.c',
'eal_common_class.c',
2021-02-05 08:48:47 +00:00
'eal_common_config.c',
'eal_common_debug.c',
2019-06-25 11:12:58 +00:00
'eal_common_devargs.c',
'eal_common_dev.c',
'eal_common_errno.c',
'eal_common_fbarray.c',
'eal_common_hexdump.c',
'eal_common_hypervisor.c',
'eal_common_launch.c',
'eal_common_lcore.c',
'eal_common_log.c',
2020-06-18 16:55:50 +00:00
'eal_common_mcfg.c',
2019-06-25 11:12:58 +00:00
'eal_common_memalloc.c',
'eal_common_memory.c',
'eal_common_memzone.c',
'eal_common_options.c',
'eal_common_proc.c',
'eal_common_string_fns.c',
'eal_common_tailqs.c',
'eal_common_thread.c',
'eal_common_timer.c',
2021-02-05 08:48:47 +00:00
'eal_common_trace.c',
'eal_common_trace_ctf.c',
'eal_common_trace_points.c',
'eal_common_trace_utils.c',
2019-06-25 11:12:58 +00:00
'eal_common_uuid.c',
'hotplug_mp.c',
'malloc_elem.c',
'malloc_heap.c',
'malloc_mp.c',
'rte_keepalive.c',
'rte_malloc.c',
2020-06-18 16:55:50 +00:00
'rte_random.c',
2019-06-25 11:12:58 +00:00
'rte_reciprocal.c',
2021-02-05 08:48:47 +00:00
'rte_service.c',
2019-06-25 11:12:58 +00:00
)
2021-02-05 08:48:47 +00:00
if is_linux
sources += files('eal_common_dynmem.c')
endif