mem: fix undefined behavior in NUMA-aware mapping
[dpdk.git] / lib / librte_eal / linuxapp / eal / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
3
4 eal_inc += include_directories('include', '../../../librte_compat')
5 install_subdir('include/exec-env', install_dir: get_option('includedir'))
6
7 env_objs = []
8 env_headers = []
9 env_sources = files('eal_alarm.c',
10                 'eal_cpuflags.c',
11                 'eal_debug.c',
12                 'eal_hugepage_info.c',
13                 'eal_interrupts.c',
14                 'eal_memalloc.c',
15                 'eal_lcore.c',
16                 'eal_log.c',
17                 'eal_thread.c',
18                 'eal_timer.c',
19                 'eal_vfio.c',
20                 'eal_vfio_mp_sync.c',
21                 'eal.c',
22                 'eal_memory.c',
23                 'eal_dev.c',
24 )
25
26 deps += ['kvargs']
27 if has_libnuma == 1
28         dpdk_conf.set10('RTE_EAL_NUMA_AWARE_HUGEPAGES', true)
29 endif