f-stack/dpdk/lib/eal/meson.build

28 lines
531 B
Meson
Raw Normal View History

2019-06-25 11:12:58 +00:00
# SPDX-License-Identifier: BSD-3-Clause
2020-06-18 16:55:50 +00:00
# Copyright(c) 2017-2019 Intel Corporation
2019-06-25 11:12:58 +00:00
2021-02-05 08:48:47 +00:00
includes += global_inc
subdir('include')
subdir('common')
if not is_windows
2022-09-06 04:00:10 +00:00
subdir('unix')
2021-02-05 08:48:47 +00:00
endif
2019-06-25 11:12:58 +00:00
2020-06-18 16:55:50 +00:00
dpdk_conf.set('RTE_EXEC_ENV_' + exec_env.to_upper(), 1)
2021-02-05 08:48:47 +00:00
subdir(exec_env)
2019-06-25 11:12:58 +00:00
2021-02-05 08:48:47 +00:00
subdir(arch_subdir)
deps += ['kvargs']
if not is_windows
2022-09-06 04:00:10 +00:00
deps += ['telemetry']
2021-02-05 08:48:47 +00:00
endif
2020-06-18 16:55:50 +00:00
if dpdk_conf.has('RTE_USE_LIBBSD')
2022-09-06 04:00:10 +00:00
ext_deps += libbsd
2020-06-18 16:55:50 +00:00
endif
if cc.has_function('getentropy', prefix : '#include <unistd.h>')
2022-09-06 04:00:10 +00:00
cflags += '-DRTE_LIBEAL_USE_GETENTROPY'
2020-06-18 16:55:50 +00:00
endif