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