mirror of https://github.com/F-Stack/f-stack.git
37 lines
826 B
Meson
37 lines
826 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2019 Intel Corporation
|
|
|
|
subdir('include')
|
|
|
|
sources += files(
|
|
'eal.c',
|
|
'eal_alarm.c',
|
|
'eal_debug.c',
|
|
'eal_dev.c',
|
|
'eal_file.c',
|
|
'eal_hugepages.c',
|
|
'eal_interrupts.c',
|
|
'eal_lcore.c',
|
|
'eal_log.c',
|
|
'eal_memalloc.c',
|
|
'eal_memory.c',
|
|
'eal_mp.c',
|
|
'eal_thread.c',
|
|
'eal_timer.c',
|
|
'fnmatch.c',
|
|
'getopt.c',
|
|
'rte_thread.c',
|
|
)
|
|
|
|
dpdk_conf.set10('RTE_EAL_NUMA_AWARE_HUGEPAGES', true)
|
|
|
|
ext_deps += [
|
|
cc.find_library('dbghelp'),
|
|
cc.find_library('setupapi'),
|
|
cc.find_library('ws2_32'),
|
|
]
|
|
if is_ms_linker
|
|
# Contrary to docs, VirtualAlloc2() is exported by mincore.lib.
|
|
ext_deps += cc.find_library('mincore')
|
|
endif
|