summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/loopback
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2009-04-28 05:04:11 +0000
committerChris Johns <chrisj@rtems.org>2009-04-28 05:04:11 +0000
commitc0ec0d82d3c7206d3d2cda7cf93514f22f8ac504 (patch)
treee714862f2531e56ff216c285df9131731b39cc0c /testsuites/samples/loopback
parent2009-04-28 Chris Johns <chrisj@rtems.org> (diff)
downloadrtems-c0ec0d82d3c7206d3d2cda7cf93514f22f8ac504.tar.bz2
2009-04-28 Chris Johns <chrisj@rtems.org>
* fileio/init.c, fileio/system.h, iostream/init.cc, loopback/init.c, pppd/init.c, pppd/pppdapp.c: Do not build if BSP_SMALL_MEMORY is defined. Remove this code once a better way is supported by the build system.
Diffstat (limited to 'testsuites/samples/loopback')
-rw-r--r--testsuites/samples/loopback/init.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuites/samples/loopback/init.c b/testsuites/samples/loopback/init.c
index 764e246ee0..174a763c3c 100644
--- a/testsuites/samples/loopback/init.c
+++ b/testsuites/samples/loopback/init.c
@@ -29,6 +29,8 @@ rtems_task Init(rtems_task_argument argument);
#include <rtems/confdefs.h>
+#if !BSP_SMALL_MEMORY
+
#include <rtems/rtems_bsdnet.h>
#include <rtems/error.h>
#include <stdio.h>
@@ -273,3 +275,14 @@ Init (rtems_task_argument ignored)
puts( "*** END OF LOOPBACK TEST ***" );
exit( 0 );
}
+#else
+#include <stdio.h>
+/*
+ * RTEMS Startup Task
+ */
+rtems_task
+Init (rtems_task_argument ignored)
+{
+ printf("NO NETWORKING. MEMORY TOO SMALL");
+}
+#endif