Move leds and sched_clock build conditionals out of the Makefile into the Kconfig file. Move selection of HAVE_SCHED_CLOCK into the platform Kconfig rather than duplicating it three times in the main architecture Kconfig. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
14 lines
249 B
Text
14 lines
249 B
Text
if PLAT_VERSATILE
|
|
|
|
config PLAT_VERSATILE_CLCD
|
|
bool
|
|
|
|
config PLAT_VERSATILE_LEDS
|
|
def_bool y if LEDS_CLASS
|
|
depends on ARCH_REALVIEW || ARCH_VERSATILE
|
|
|
|
config PLAT_VERSATILE_SCHED_CLOCK
|
|
def_bool y if !ARCH_INTEGRATOR
|
|
select HAVE_SCHED_CLOCK
|
|
|
|
endif
|