From 97e2729d1a3432b9792b82ce88ce6d804a104f7a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 23 Nov 1998 17:38:09 +0000 Subject: Added --disable-multiprocessing flag and modified a lot of files to make it work. --- c/src/exec/rtems/optman/Makefile.in | 2 +- c/src/exec/rtems/optman/no-mp.c | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'c/src/exec/rtems/optman') diff --git a/c/src/exec/rtems/optman/Makefile.in b/c/src/exec/rtems/optman/Makefile.in index 41d7274161..d674921aba 100644 --- a/c/src/exec/rtems/optman/Makefile.in +++ b/c/src/exec/rtems/optman/Makefile.in @@ -8,7 +8,7 @@ VPATH = @srcdir@ RTEMS_ROOT = @top_srcdir@ PROJECT_ROOT = @PROJECT_ROOT@ -C_FILES= no-dpmem.c no-event.c no-mp.c no-msg.c \ +C_FILES= no-dpmem.c no-event.c no-msg.c no-mp.c \ no-part.c no-region.c no-rtmon.c no-sem.c no-signal.c no-timer.c S_FILES= diff --git a/c/src/exec/rtems/optman/no-mp.c b/c/src/exec/rtems/optman/no-mp.c index 71c38826f3..41fa81e597 100644 --- a/c/src/exec/rtems/optman/no-mp.c +++ b/c/src/exec/rtems/optman/no-mp.c @@ -14,6 +14,9 @@ */ #include +#if !defined(RTEMS_MULTIPROCESSING) +char rtems_no_multiprocessing; +#else #include #include #include @@ -197,5 +200,5 @@ MPCI_Internal_packet *_MPCI_Internal_packets_Get_packet ( void ) ); return NULL; } - +#endif /* end of file */ -- cgit v1.2.3