diff options
author | Chris Johns <chrisj@rtems.org> | 2022-08-02 21:00:09 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2022-08-03 10:46:10 +1000 |
commit | 071640d310b432d15350188c2ebf086653a0d578 (patch) | |
tree | 3e3e99bd024ec9d9d5d41d156a8f5fad72a508b2 /cpukit/include/rtems/shellconfig.h | |
parent | sp54: Fix test case (diff) | |
download | rtems-071640d310b432d15350188c2ebf086653a0d578.tar.bz2 |
libmisc/shell: Add an 'rtems' command to report a running build
- Report version, cpu, bsp, tools and options.
Diffstat (limited to '')
-rw-r--r-- | cpukit/include/rtems/shellconfig.h | 6 |
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 |