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.
This commit is contained in:
Chris Johns
2009-04-28 05:04:11 +00:00
parent a263aa724d
commit c0ec0d82d3
7 changed files with 64 additions and 7 deletions

View File

@@ -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