2019-04-01 20:54:49 -07:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2019 Intel Corporation
|
|
|
|
|
2020-03-27 02:15:39 +01:00
|
|
|
subdir('include')
|
2019-04-01 20:54:56 -07:00
|
|
|
|
2020-03-27 02:15:39 +01:00
|
|
|
sources += files(
|
2021-04-20 11:22:24 +01:00
|
|
|
'eal.c',
|
|
|
|
'eal_alarm.c',
|
|
|
|
'eal_debug.c',
|
2021-06-29 13:50:16 -07:00
|
|
|
'eal_dev.c',
|
2021-04-20 11:22:24 +01:00
|
|
|
'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',
|
2019-04-01 20:54:49 -07:00
|
|
|
)
|
2020-06-15 03:43:54 +03:00
|
|
|
|
|
|
|
dpdk_conf.set10('RTE_EAL_NUMA_AWARE_HUGEPAGES', true)
|
2021-08-20 02:14:46 +03:00
|
|
|
|
|
|
|
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
|