![Linus Walleij](/assets/img/avatar_default.png)
My attempt to make the LEDs only compile for RealView and Versatile was futile: I missed the Versatile Express. So invert the logic and explicitly include the platforms to compile for. Signed-off-by: Linus Walleij <triad@df.lth.se> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
9 lines
265 B
Makefile
9 lines
265 B
Makefile
obj-y := clock.o
|
|
obj-$(CONFIG_ARM_TIMER_SP804) += timer-sp.o
|
|
obj-$(CONFIG_ARCH_REALVIEW) += sched-clock.o
|
|
obj-$(CONFIG_ARCH_VERSATILE) += sched-clock.o
|
|
ifeq ($(CONFIG_LEDS_CLASS),y)
|
|
obj-$(CONFIG_ARCH_REALVIEW) += leds.o
|
|
obj-$(CONFIG_ARCH_VERSATILE) += leds.o
|
|
endif
|