test mbuf attach
[dpdk.git] / lib / librte_power / meson.build
index 02e0337..78c031c 100644 (file)
@@ -1,12 +1,14 @@
 # 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',
-               'power_pstate_cpufreq.c')
+               'power_pstate_cpufreq.c',
+               'power_common.c')
 headers = files('rte_power.h','rte_power_empty_poll.h')
 deps += ['timer']