summaryrefslogtreecommitdiffstats
path: root/cpukit/include
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2022-08-02 21:00:09 +1000
committerChris Johns <chrisj@rtems.org>2022-08-03 10:46:10 +1000
commit071640d310b432d15350188c2ebf086653a0d578 (patch)
tree3e3e99bd024ec9d9d5d41d156a8f5fad72a508b2 /cpukit/include
parentsp54: Fix test case (diff)
downloadrtems-071640d310b432d15350188c2ebf086653a0d578.tar.bz2
libmisc/shell: Add an 'rtems' command to report a running build
- Report version, cpu, bsp, tools and options.
Diffstat (limited to 'cpukit/include')
-rw-r--r--cpukit/include/rtems/shellconfig.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/include/rtems/shellconfig.h b/cpukit/include/rtems/shellconfig.h
index b09d5ae1d3..a013840ee7 100644
--- a/cpukit/include/rtems/shellconfig.h
+++ b/cpukit/include/rtems/shellconfig.h
@@ -110,6 +110,7 @@ extern rtems_shell_cmd_t rtems_shell_STACKUSE_Command;
extern rtems_shell_cmd_t rtems_shell_PERIODUSE_Command;
extern rtems_shell_cmd_t rtems_shell_PROFREPORT_Command;
extern rtems_shell_cmd_t rtems_shell_WKSPACE_INFO_Command;
+extern rtems_shell_cmd_t rtems_shell_RTEMS_Command;
extern rtems_shell_cmd_t rtems_shell_MALLOC_INFO_Command;
extern rtems_shell_cmd_t rtems_shell_RTRACE_Command;
#if RTEMS_NETWORKING
@@ -489,6 +490,11 @@ extern rtems_shell_alias_t * const rtems_shell_Initial_aliases[];
defined(CONFIGURE_SHELL_COMMAND_WKSPACE_INFO)
&rtems_shell_WKSPACE_INFO_Command,
#endif
+ #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
+ !defined(CONFIGURE_SHELL_NO_COMMAND_RTEMS)) || \
+ defined(CONFIGURE_SHELL_COMMAND_RTEMS)
+ &rtems_shell_RTEMS_Command,
+ #endif
/*
* Malloc family commands