summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/confdefs/iodrivers.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-15 19:15:27 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-17 09:16:17 +0100
commit32cee88357546ca4c3352b1691b05059f086bf74 (patch)
tree6056ea9f2e9f59898cd778277de25f9e7827cf56 /cpukit/include/rtems/confdefs/iodrivers.h
parentbuild: Add --rtems-version command line option (diff)
downloadrtems-32cee88357546ca4c3352b1691b05059f086bf74.tar.bz2
config: CONFIGURE_DISABLE_BSP_SETTINGS
Evaluate CONFIGURE_DISABLE_BSP_SETTINGS for each affected application configuration option. This makes the code easier to review since the influence of CONFIGURE_DISABLE_BSP_SETTINGS is locally visible in the code. Update #3875.
Diffstat (limited to '')
-rw-r--r--cpukit/include/rtems/confdefs/iodrivers.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/include/rtems/confdefs/iodrivers.h b/cpukit/include/rtems/confdefs/iodrivers.h
index a7de77a8c3..8c102197eb 100644
--- a/cpukit/include/rtems/confdefs/iodrivers.h
+++ b/cpukit/include/rtems/confdefs/iodrivers.h
@@ -110,7 +110,8 @@ extern "C" {
rtems_driver_address_table
_IO_Driver_address_table[ CONFIGURE_MAXIMUM_DRIVERS ] = {
- #ifdef CONFIGURE_BSP_PREREQUISITE_DRIVERS
+ #if !defined(CONFIGURE_DISABLE_BSP_SETTINGS) && \
+ defined(CONFIGURE_BSP_PREREQUISITE_DRIVERS)
CONFIGURE_BSP_PREREQUISITE_DRIVERS,
#endif
#ifdef CONFIGURE_APPLICATION_PREREQUISITE_DRIVERS