c1097d32f1eeb5ae98ccb0de6ccf4c9ec68c40bc
[dpdk.git] / lib / 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_kvm_vm.c',
13         'power_pstate_cpufreq.c',
14         'rte_power.c',
15         'rte_power_empty_poll.c',
16         'rte_power_pmd_mgmt.c',
17 )
18 headers = files(
19         'rte_power.h',
20         'rte_power_empty_poll.h',
21         'rte_power_pmd_mgmt.h',
22         'rte_power_guest_channel.h',
23 )
24 deps += ['timer', 'ethdev']