summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/fileio/init.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-10-02 21:49:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-10-02 21:49:39 +0000
commit339fd66572d51eb284daf31ba5076cacc7874dd1 (patch)
tree7823fee79fcad9564a286a0f7a5d2269700880d9 /testsuites/samples/fileio/init.c
parent2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-339fd66572d51eb284daf31ba5076cacc7874dd1.tar.bz2
2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/init.c: When USE_SHELL not defined, do not attempt to configure shell.
Diffstat (limited to 'testsuites/samples/fileio/init.c')
-rw-r--r--testsuites/samples/fileio/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuites/samples/fileio/init.c b/testsuites/samples/fileio/init.c
index 0b0d3c041c..389cbd023a 100644
--- a/testsuites/samples/fileio/init.c
+++ b/testsuites/samples/fileio/init.c
@@ -654,6 +654,7 @@ Init (rtems_task_argument ignored)
fileio_menu();
}
+#if defined(USE_SHELL)
/*
* RTEMS Shell Configuration -- Add a command and an alias for it
*/
@@ -689,4 +690,5 @@ rtems_shell_alias_t Shell_USERECHO_Alias = {
#define CONFIGURE_SHELL_MOUNT_MSDOS
#include <rtems/shellconfig.h>
+#endif