]> git.proxmox.com Git - ceph.git/blame - ceph/src/spdk/dpdk/lib/librte_eal/meson.build
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / spdk / dpdk / lib / librte_eal / meson.build
CommitLineData
11fdf7f2 1# SPDX-License-Identifier: BSD-3-Clause
9f95a23c 2# Copyright(c) 2017-2019 Intel Corporation
11fdf7f2 3
f67539c2
TL
4includes += global_inc
5subdir('include')
6
7subdir('common')
11fdf7f2 8
9f95a23c 9dpdk_conf.set('RTE_EXEC_ENV_' + exec_env.to_upper(), 1)
f67539c2
TL
10subdir(exec_env)
11
12subdir(arch_subdir)
11fdf7f2 13
f67539c2
TL
14deps += ['kvargs']
15if not is_windows
16 deps += ['telemetry']
17endif
9f95a23c
TL
18if dpdk_conf.has('RTE_USE_LIBBSD')
19 ext_deps += libbsd
20endif
f67539c2
TL
21if cc.has_function('getentropy', prefix : '#include <unistd.h>')
22 cflags += '-DRTE_LIBEAL_USE_GETENTROPY'
23endif
24if cc.has_header('getopt.h')
25 cflags += ['-DHAVE_GETOPT_H', '-DHAVE_GETOPT', '-DHAVE_GETOPT_LONG']
26endif