summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-12-11 19:08:03 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-12-13 08:22:58 +0100
commit6f6091b3849822e074cd4fbb794f389ba1662a4a (patch)
tree4502feccb557be6e045cc260ad7f66a08700175d /cpukit
parentmptests: Fix configuration (diff)
downloadrtems-6f6091b3849822e074cd4fbb794f389ba1662a4a.tar.bz2
config: Add CONFIGURE_IMFS_ENABLE_MKFIFO
Obsolete undocumented configuration options CONFIGURE_MAXIMUM_FIFOS and CONFIGURE_MAXIMUM_PIPES. Replace these options with the new CONFIGURE_IMFS_ENABLE_MKFIFO configuration option. Update #3840.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/include/rtems/confdefs.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/cpukit/include/rtems/confdefs.h b/cpukit/include/rtems/confdefs.h
index 2e48af3f7a..23caa17707 100644
--- a/cpukit/include/rtems/confdefs.h
+++ b/cpukit/include/rtems/confdefs.h
@@ -202,15 +202,21 @@ extern rtems_initialization_tasks_table Initialization_tasks[];
/**
* This is specified to configure the maximum number of POSIX FIFOs.
*/
-#if !defined(CONFIGURE_MAXIMUM_FIFOS)
- #define CONFIGURE_MAXIMUM_FIFOS 0
+#ifdef CONFIGURE_MAXIMUM_FIFOS
+ #warning "CONFIGURE_MAXIMUM_FIFOS is obsolete since RTEMS 5.1; use CONFIGURE_IMFS_ENABLE_MKFIFO instead"
+ #if CONFIGURE_MAXIMUM_FIFOS > 0
+ #define CONFIGURE_IMFS_ENABLE_MKFIFO
+ #endif
#endif
/**
* This is specified to configure the maximum number of POSIX named pipes.
*/
-#if !defined(CONFIGURE_MAXIMUM_PIPES)
- #define CONFIGURE_MAXIMUM_PIPES 0
+#ifdef CONFIGURE_MAXIMUM_PIPES
+ #warning "CONFIGURE_MAXIMUM_PIPES is obsolete since RTEMS 5.1; use CONFIGURE_IMFS_ENABLE_MKFIFO instead"
+ #if CONFIGURE_MAXIMUM_PIPES > 0
+ #define CONFIGURE_IMFS_ENABLE_MKFIFO
+ #endif
#endif
/**
@@ -575,7 +581,7 @@ extern rtems_initialization_tasks_table Initialization_tasks[];
#else
&IMFS_mknod_control_memfile,
#endif
- #if CONFIGURE_MAXIMUM_FIFOS > 0 || CONFIGURE_MAXIMUM_PIPES > 0
+ #ifdef CONFIGURE_IMFS_ENABLE_MKFIFO
&IMFS_mknod_control_fifo
#else
&IMFS_mknod_control_enosys