diff options
author | Chris Johns <chrisj@rtems.org> | 2009-04-28 05:04:11 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2009-04-28 05:04:11 +0000 |
commit | c0ec0d82d3c7206d3d2cda7cf93514f22f8ac504 (patch) | |
tree | e714862f2531e56ff216c285df9131731b39cc0c /testsuites/samples/fileio/system.h | |
parent | 2009-04-28 Chris Johns <chrisj@rtems.org> (diff) | |
download | rtems-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 '')
-rw-r--r-- | testsuites/samples/fileio/system.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/testsuites/samples/fileio/system.h b/testsuites/samples/fileio/system.h index e1cf70173d..ff8cb3a78a 100644 --- a/testsuites/samples/fileio/system.h +++ b/testsuites/samples/fileio/system.h @@ -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 |