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