cmd: Kconfig: LED command depends on LED subsystems
PATCH 1/1 cmd: Kconfig: LED command depends on LED subsystems
From: Jan Kiszka <[email protected]>
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 <[email protected]>
--- cmd/Kconfig | 1 + 1 file changed, 1 insertion(+)
cmd/Kconfig +1 -0
@@ -1399,6 +1399,7 @@ config CMD_DISPLAY config CMD_LED bool "led" + depends on LED default y if LED help Enable the 'led' command which allows for control of LEDs supported
Signature · 1 line
2.16.4
Quoted 11 lines · Jan Kiszka
From: Jan Kiszka <[email protected]>
Without
CONFIG_LED, we get
cmd/built-in.o: In function `show_led_state':cmd/led.c:40: undefined reference toled_get_state' cmd/built-in.o: In functiondo_led':cmd/led.c:99: undefined reference toled_get_by_label' cmd/led.c:108: undefined reference toled_set_state'Signed-off-by Jan Kiszka <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190223/2ebcaeba/attachment.sig>