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

@@ -27,7 +27,13 @@ rtems_task Init(
/* configuration information */
#include <bsp.h> /* for device driver prototypes */
#ifdef RTEMS_BSP_HAS_IDE_DRIVER
#define FILEIO_BUILD 1
#if BSP_SMALL_MEMORY
#undef FILEIO_BUILD
#endif
#if defined(RTEMS_BSP_HAS_IDE_DRIVER) && !BSP_SMALL_MEMORY
#include <libchip/ata.h> /* for ata driver prototype */
#include <libchip/ide_ctrl.h> /* for general ide driver prototype */
#endif