X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Fpower%2Fmeson.build;h=ba8d66074beba754c9ddaa78d7b2b4ea685e64c7;hb=09b0a36cc7aef21deec6a73d3930a5fd43dfaed9;hp=a2cc9fe2ef4e98e8a6ec0bff25c90195b9aaeb41;hpb=99a2dd955fba6e4cc23b77d590a033650ced9c45;p=dpdk.git diff --git a/lib/power/meson.build b/lib/power/meson.build index a2cc9fe2ef..ba8d66074b 100644 --- a/lib/power/meson.build +++ b/lib/power/meson.build @@ -1,6 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Intel Corporation +if is_windows + build = false + reason = 'not supported on Windows' + subdir_done() +endif + if not is_linux build = false reason = 'only supported on Linux' @@ -9,6 +15,7 @@ sources = files( 'guest_channel.c', 'power_acpi_cpufreq.c', 'power_common.c', + 'power_cppc_cpufreq.c', 'power_kvm_vm.c', 'power_pstate_cpufreq.c', 'rte_power.c', @@ -19,6 +26,9 @@ headers = files( 'rte_power.h', 'rte_power_empty_poll.h', 'rte_power_pmd_mgmt.h', - 'rte_power_guest_channel.h' + 'rte_power_guest_channel.h', ) +if cc.has_argument('-Wno-cast-qual') + cflags += '-Wno-cast-qual' +endif deps += ['timer', 'ethdev']