1# SPDX-License-Identifier: Apache-2.0
2
3add_subdirectory(modules)
4add_subdirectory(backends)
5
6zephyr_sources_ifdef(
7  CONFIG_SHELL
8  shell.c
9  shell_fprintf.c
10  shell_utils.c
11  shell_ops.c
12  )
13
14if(NOT CONFIG_SHELL_LOG_BACKEND_CUSTOM)
15  zephyr_sources_ifdef(
16    CONFIG_SHELL_LOG_BACKEND
17    shell_log_backend.c
18  )
19endif()
20
21zephyr_sources_ifdef(
22  CONFIG_SHELL_HELP
23  shell_help.c
24  )
25
26zephyr_sources_ifdef(
27  CONFIG_SHELL_CMDS
28  shell_cmds.c
29  )
30
31zephyr_sources_ifdef(
32  CONFIG_SHELL_HISTORY
33  shell_history.c
34  )
35
36zephyr_sources_ifdef(
37  CONFIG_SHELL_WILDCARD
38  shell_wildcard.c
39  )
40