summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-01-27 15:10:39 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-02-12 09:31:27 +0100
commit7571a235c56ef3fb48456054e0ba63dbb493a6ac (patch)
treecf7e91ab8519b9ad04ab572fc880ef5ce68a8523 /cpukit
parentscore: Add and use rtems_assert_context (diff)
downloadrtems-7571a235c56ef3fb48456054e0ba63dbb493a6ac.tar.bz2
sapi: PR1911: Add CONFIGURE_DISABLE_BSP_SETTINGS
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/libmisc/dummy/dummy.c2
-rw-r--r--cpukit/sapi/include/confdefs.h14
2 files changed, 16 insertions, 0 deletions
diff --git a/cpukit/libmisc/dummy/dummy.c b/cpukit/libmisc/dummy/dummy.c
index 6b824fca1c..9b2f2d0a1e 100644
--- a/cpukit/libmisc/dummy/dummy.c
+++ b/cpukit/libmisc/dummy/dummy.c
@@ -30,6 +30,8 @@ int main( int, char **, char **);
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+#define CONFIGURE_DISABLE_BSP_SETTINGS
+
#define CONFIGURE_INIT
#include <rtems/confdefs.h>
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index a5b7b7a4fe..cc55e92722 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -47,6 +47,20 @@
#include <rtems/score/apimutex.h>
#include <rtems/score/wkspace.h>
+#ifdef CONFIGURE_DISABLE_BSP_SETTINGS
+ #undef BSP_DEFAULT_UNIFIED_WORK_AREAS
+ #undef BSP_IDLE_TASK_BODY
+ #undef BSP_IDLE_TASK_STACK_SIZE
+ #undef BSP_INITIAL_EXTENSION
+ #undef BSP_INTERRUPT_STACK_SIZE
+ #undef BSP_MAXIMUM_DEVICES
+ #undef BSP_ZERO_WORKSPACE_AUTOMATICALLY
+ #undef CONFIGURE_BSP_PREREQUISITE_DRIVERS
+ #undef CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
+#else
+ #include <bsp.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif