blob: 9d7176cee3d376195a6bbe7ebbe67956e4a5ca52 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for cpuidle.
4#
5
6obj-y += cpuidle.o driver.o governor.o sysfs.o governors/
7obj-$(CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED) += coupled.o
8obj-$(CONFIG_DT_IDLE_STATES) += dt_idle_states.o
9obj-$(CONFIG_ARCH_HAS_CPU_RELAX) += poll_state.o
10
11##################################################################################
12# ARM SoC drivers
13obj-$(CONFIG_ARM_MVEBU_V7_CPUIDLE) += cpuidle-mvebu-v7.o
14obj-$(CONFIG_ARM_BIG_LITTLE_CPUIDLE) += cpuidle-big_little.o
15obj-$(CONFIG_ARM_CLPS711X_CPUIDLE) += cpuidle-clps711x.o
16obj-$(CONFIG_ARM_HIGHBANK_CPUIDLE) += cpuidle-calxeda.o
17obj-$(CONFIG_ARM_KIRKWOOD_CPUIDLE) += cpuidle-kirkwood.o
18obj-$(CONFIG_ARM_ZYNQ_CPUIDLE) += cpuidle-zynq.o
19obj-$(CONFIG_ARM_U8500_CPUIDLE) += cpuidle-ux500.o
20obj-$(CONFIG_ARM_AT91_CPUIDLE) += cpuidle-at91.o
21obj-$(CONFIG_ARM_EXYNOS_CPUIDLE) += cpuidle-exynos.o
22obj-$(CONFIG_ARM_CPUIDLE) += cpuidle-arm.o
23
24###############################################################################
25# MIPS drivers
26obj-$(CONFIG_MIPS_CPS_CPUIDLE) += cpuidle-cps.o
27
28###############################################################################
29# POWERPC drivers
30obj-$(CONFIG_PSERIES_CPUIDLE) += cpuidle-pseries.o
31obj-$(CONFIG_POWERNV_CPUIDLE) += cpuidle-powernv.o