summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testsuites/samples/ChangeLog6
-rw-r--r--testsuites/samples/minimum/Makefile.am2
-rw-r--r--testsuites/samples/minimum/init.c14
3 files changed, 20 insertions, 2 deletions
diff --git a/testsuites/samples/ChangeLog b/testsuites/samples/ChangeLog
index c062e1bb3d..c8b90e88d0 100644
--- a/testsuites/samples/ChangeLog
+++ b/testsuites/samples/ChangeLog
@@ -1,3 +1,9 @@
+2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * minimum/Makefile.am, minimum/init.c: Switch back to using optional
+ manager support. Also add use of CONFIGURE_DISABLE_NEWLIB_REENTRANCY
+ to demonstrate that the newlib reentrancy support is optional.
+
2007-04-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* nsecs/init.c: Remove private decl of _Timespec_Subtract use the
diff --git a/testsuites/samples/minimum/Makefile.am b/testsuites/samples/minimum/Makefile.am
index 7275dedbdd..e846b3bfe3 100644
--- a/testsuites/samples/minimum/Makefile.am
+++ b/testsuites/samples/minimum/Makefile.am
@@ -2,7 +2,7 @@
## $Id$
##
-MANAGERS = all
+MANAGERS =
rtems_tests_PROGRAMS = minimum.exe
minimum_exe_SOURCES = init.c
diff --git a/testsuites/samples/minimum/init.c b/testsuites/samples/minimum/init.c
index 50062dc022..67988fb04c 100644
--- a/testsuites/samples/minimum/init.c
+++ b/testsuites/samples/minimum/init.c
@@ -21,9 +21,21 @@ rtems_task Init(
/* configuration information */
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
-#define CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM
#define CONFIGURE_MAXIMUM_TASKS 1
+/*
+ * This is the smallest IO subsystem RTEMS currently supports.
+ */
+#define CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM
+
+/*
+ * This disables reentrancy support in the C Library. It is usually
+ * not something an application wants to do unless the development
+ * team is committed to using C Library routines that are KNOWN to
+ * be reentrant. Caveat Emptor!!
+ */
+#define CONFIGURE_DISABLE_NEWLIB_REENTRANCY
+
#define CONFIGURE_INIT
#include <rtems/confdefs.h>