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
|
2018-10-04 21:17:00 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
zephyr_sources_ifdef(
|
|
|
|
CONFIG_SHELL_BACKEND_SERIAL
|
2018-08-09 15:56:10 +08:00
|
|
|
shell_uart.c
|
2018-10-02 20:47:20 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
zephyr_sources_ifdef(
|
|
|
|
CONFIG_SHELL_BACKEND_DUMMY
|
|
|
|
shell_dummy.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-09-20 20:45:56 +08:00
|
|
|
CONFIG_SHELL_LOG_BACKEND
|
2018-08-09 17:40:02 +08:00
|
|
|
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
|
|
|
|
)
|