forked from Imagelibrary/rtems
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user