diff options
author | Chris Johns <chrisj@rtems.org> | 2014-09-15 09:10:45 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-09-16 15:19:58 +1000 |
commit | b299960aedd4aaaa9a030059bfa1519d721aaba3 (patch) | |
tree | fa3b92c366cf1a83bcca99ca757974a256d03de5 /cpukit/libmisc/shell/shellconfig.h | |
parent | libmisc: Add a stdio redirector helper. (diff) | |
download | rtems-b299960aedd4aaaa9a030059bfa1519d721aaba3.tar.bz2 |
shell: Add an md5 hash command for files.
This command lets you get an MD5 hash for a file in an RTEMS file system.
Diffstat (limited to 'cpukit/libmisc/shell/shellconfig.h')
-rw-r--r-- | cpukit/libmisc/shell/shellconfig.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/libmisc/shell/shellconfig.h b/cpukit/libmisc/shell/shellconfig.h index 988bf88a4a..eacfac28f9 100644 --- a/cpukit/libmisc/shell/shellconfig.h +++ b/cpukit/libmisc/shell/shellconfig.h @@ -71,6 +71,7 @@ extern rtems_shell_cmd_t rtems_shell_DD_Command; extern rtems_shell_cmd_t rtems_shell_HEXDUMP_Command; extern rtems_shell_cmd_t rtems_shell_DEBUGRFS_Command; extern rtems_shell_cmd_t rtems_shell_DF_Command; +extern rtems_shell_cmd_t rtems_shell_MD5_Command; extern rtems_shell_cmd_t rtems_shell_RTC_Command; @@ -382,6 +383,11 @@ extern rtems_shell_alias_t *rtems_shell_Initial_aliases[]; defined(CONFIGURE_SHELL_COMMAND_DF) &rtems_shell_DF_Command, #endif + #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \ + !defined(CONFIGURE_SHELL_NO_COMMAND_MD5)) || \ + defined(CONFIGURE_SHELL_COMMAND_MD5) + &rtems_shell_MD5_Command, + #endif /* * RTEMS Related commands |