]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: Kconfig: LED command depends on LED subsystems
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 3 Jan 2019 08:08:42 +0000 (09:08 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 23 Feb 2019 00:49:41 +0000 (19:49 -0500)
commit2ab6e74dbd667e77d88e3ffb1893515243e0c5ad
tree843de8548a76f9728676e97fcad769fc132555ae
parentfca0128da48031286f0cb2414ee6c94e9162943c
cmd: Kconfig: LED command depends on LED subsystems

Without CONFIG_LED, we get

cmd/built-in.o: In function `show_led_state':
cmd/led.c:40: undefined reference to `led_get_state'
cmd/built-in.o: In function `do_led':
cmd/led.c:99: undefined reference to `led_get_by_label'
cmd/led.c:108: undefined reference to `led_set_state'

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
cmd/Kconfig