mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 19:42:26 +00:00
When the CPU_IDLE and the ARCH_KIRKWOOD options are set it is pointless to define a new option CPU_IDLE_KIRKWOOD because it is redundant. The Makefile drivers directory contains a condition to compile the cpuidle drivers: obj-$(CONFIG_CPU_IDLE) += cpuidle/ Hence, if CPU_IDLE is not set we won't enter this directory. This patch removes the useless Kconfig option and replaces the condition in the Makefile by CONFIG_ARCH_KIRKWOOD. Signed-off-by: Daniel Lezcano <[email protected]> Acked-by: Jason Cooper <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
10 lines
245 B
Makefile
10 lines
245 B
Makefile
#
|
|
# Makefile for cpuidle.
|
|
#
|
|
|
|
obj-y += cpuidle.o driver.o governor.o sysfs.o governors/
|
|
obj-$(CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED) += coupled.o
|
|
|
|
obj-$(CONFIG_CPU_IDLE_CALXEDA) += cpuidle-calxeda.o
|
|
obj-$(CONFIG_ARCH_KIRKWOOD) += cpuidle-kirkwood.o
|