1# SPDX-License-Identifier: BSD-3-Clause 2# Copyright(c) 2017 Intel Corporation 3 4if is_windows 5 build = false 6 reason = 'not supported on Windows' 7 subdir_done() 8endif 9 10if not is_linux 11 build = false 12 reason = 'only supported on Linux' 13endif 14sources = files( 15 'power_common.c', 16 'rte_power_cpufreq.c', 17 'rte_power_pmd_mgmt.c', 18 'rte_power_qos.c', 19 'rte_power_uncore.c', 20) 21headers = files( 22 'power_cpufreq.h', 23 'power_uncore_ops.h', 24 'rte_power_cpufreq.h', 25 'rte_power_pmd_mgmt.h', 26 'rte_power_qos.h', 27 'rte_power_uncore.h', 28) 29 30deps += ['timer', 'ethdev'] 31