Reasons for building not supported generally start with lowercase because printed as the second part of a line. Other changes: - "linux" should be "Linux" with a capital letter. - ARCH_X86_64 may be simply x86_64. - aarch64 is preferred over arm64. Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: David Marchand <david.marchand@redhat.com>
15 lines
396 B
Meson
15 lines
396 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2017 Intel Corporation
|
|
|
|
if not is_linux
|
|
build = false
|
|
reason = 'only supported on Linux'
|
|
endif
|
|
sources = files('rte_power.c', 'power_acpi_cpufreq.c',
|
|
'power_kvm_vm.c', 'guest_channel.c',
|
|
'rte_power_empty_poll.c',
|
|
'power_pstate_cpufreq.c',
|
|
'power_common.c')
|
|
headers = files('rte_power.h','rte_power_empty_poll.h')
|
|
deps += ['timer']
|