2017-10-27 21:43:34 +08:00
|
|
|
zephyr_include_directories_ifdef(CONFIG_CONSOLE_SHELL
|
2018-01-11 22:46:44 +08:00
|
|
|
${ZEPHYR_BASE}/include/drivers
|
2017-10-27 21:43:34 +08:00
|
|
|
)
|
|
|
|
|
2018-08-09 15:56:10 +08:00
|
|
|
zephyr_sources_ifdef(
|
|
|
|
CONFIG_CONSOLE_SHELL
|
2017-10-27 21:43:34 +08:00
|
|
|
shell_service.c
|
2018-08-09 14:18:18 +08:00
|
|
|
legacy_shell.c
|
2017-10-27 21:43:34 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
add_subdirectory(modules)
|
2018-08-09 15:56:10 +08:00
|
|
|
|
|
|
|
zephyr_sources_ifdef(
|
|
|
|
CONFIG_SHELL
|
|
|
|
shell.c
|
|
|
|
shell_fprintf.c
|
|
|
|
shell_utils.c
|
|
|
|
shell_ops.c
|
|
|
|
shell_uart.c
|
2018-08-09 16:38:15 +08:00
|
|
|
)
|
|
|
|
|
2018-08-09 17:40:02 +08:00
|
|
|
zephyr_sources_ifdef(
|
|
|
|
CONFIG_SHELL_CMDS
|
|
|
|
shell_cmds.c
|
|
|
|
)
|
|
|
|
|
2018-08-09 16:38:15 +08:00
|
|
|
zephyr_sources_ifdef(
|
|
|
|
CONFIG_SHELL_HISTORY
|
|
|
|
shell_history.c
|
|
|
|
)
|
2018-08-09 16:57:07 +08:00
|
|
|
|
|
|
|
zephyr_sources_ifdef(
|
2018-08-09 17:40:02 +08:00
|
|
|
CONFIG_LOG
|
|
|
|
shell_log_backend.c
|
2018-08-09 16:57:07 +08:00
|
|
|
)
|
2018-08-09 17:57:31 +08:00
|
|
|
|
|
|
|
zephyr_sources_ifdef(
|
|
|
|
CONFIG_SHELL_WILDCARD
|
|
|
|
shell_wildcard.c
|
|
|
|
)
|