X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_power%2Fmeson.build;h=cdf08f6df39ddacc31e18f7f96266509fac03808;hb=cdfa0dc1702bcfe6c403d3cfe4046b29c8e6c5b9;hp=9ed8b56da4d3bad4b90ca9bc7be300a0f5071bf4;hpb=450f0791312ccc82f5b28f8a93986936779f0a54;p=dpdk.git diff --git a/lib/librte_power/meson.build b/lib/librte_power/meson.build index 9ed8b56da4..cdf08f6df3 100644 --- a/lib/librte_power/meson.build +++ b/lib/librte_power/meson.build @@ -1,11 +1,13 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Intel Corporation -if host_machine.system() != 'linux' +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') + 'rte_power_empty_poll.c', + 'power_pstate_cpufreq.c') headers = files('rte_power.h','rte_power_empty_poll.h') deps += ['timer']