net: add optional fields in GRE header
[dpdk.git] / lib / power / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
3
4 if is_windows
5     build = false
6     reason = 'not supported on Windows'
7     subdir_done()
8 endif
9
10 if not is_linux
11     build = false
12     reason = 'only supported on Linux'
13 endif
14 sources = files(
15         'guest_channel.c',
16         'power_acpi_cpufreq.c',
17         'power_common.c',
18         'power_cppc_cpufreq.c',
19         'power_kvm_vm.c',
20         'power_pstate_cpufreq.c',
21         'rte_power.c',
22         'rte_power_empty_poll.c',
23         'rte_power_pmd_mgmt.c',
24 )
25 headers = files(
26         'rte_power.h',
27         'rte_power_empty_poll.h',
28         'rte_power_pmd_mgmt.h',
29         'rte_power_guest_channel.h',
30 )
31 if cc.has_argument('-Wno-cast-qual')
32     cflags += '-Wno-cast-qual'
33 endif
34 deps += ['timer', 'ethdev']