]>
Commit | Line | Data |
---|---|---|
11fdf7f2 | 1 | # SPDX-License-Identifier: BSD-3-Clause |
9f95a23c | 2 | # Copyright(c) 2017-2019 Intel Corporation |
11fdf7f2 | 3 | |
f67539c2 TL |
4 | includes += global_inc |
5 | subdir('include') | |
6 | ||
7 | subdir('common') | |
11fdf7f2 | 8 | |
9f95a23c | 9 | dpdk_conf.set('RTE_EXEC_ENV_' + exec_env.to_upper(), 1) |
f67539c2 TL |
10 | subdir(exec_env) |
11 | ||
12 | subdir(arch_subdir) | |
11fdf7f2 | 13 | |
f67539c2 TL |
14 | deps += ['kvargs'] |
15 | if not is_windows | |
16 | deps += ['telemetry'] | |
17 | endif | |
9f95a23c TL |
18 | if dpdk_conf.has('RTE_USE_LIBBSD') |
19 | ext_deps += libbsd | |
20 | endif | |
f67539c2 TL |
21 | if cc.has_function('getentropy', prefix : '#include <unistd.h>') |
22 | cflags += '-DRTE_LIBEAL_USE_GETENTROPY' | |
23 | endif | |
24 | if cc.has_header('getopt.h') | |
25 | cflags += ['-DHAVE_GETOPT_H', '-DHAVE_GETOPT', '-DHAVE_GETOPT_LONG'] | |
26 | endif |