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. --- make/custom/FreeBSD-posix.cfg | 3 --- make/custom/HPUX9-posix.cfg | 3 --- make/custom/Linux-posix.cfg | 3 --- make/custom/Solaris-posix.cfg | 3 --- make/custom/cvme961.cfg | 3 --- make/custom/default.cfg | 4 ++++ make/custom/dmv177.cfg | 3 --- make/custom/force386.cfg | 3 --- make/custom/gensh1.cfg | 3 --- make/custom/mvme136.cfg | 3 --- make/custom/mvme147s.cfg | 3 --- make/custom/no_bsp.cfg | 3 --- make/custom/simhppa.cfg | 3 --- 13 files changed, 4 insertions(+), 36 deletions(-) (limited to 'make/custom') diff --git a/make/custom/FreeBSD-posix.cfg b/make/custom/FreeBSD-posix.cfg index 99225f0d9a..16afdcbe87 100644 --- a/make/custom/FreeBSD-posix.cfg +++ b/make/custom/FreeBSD-posix.cfg @@ -34,9 +34,6 @@ HAS_CPLUSPLUS=yes CPLUS_LD_LIBS += $(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA) endif -# Define this to yes if this target supports multiprocessor environments. -HAS_MP=yes - # This target does NOT support the TCP/IP stack so ignore requests # to enable it. HAS_NETWORKING=no diff --git a/make/custom/HPUX9-posix.cfg b/make/custom/HPUX9-posix.cfg index 31f1f8e180..401a7863a3 100644 --- a/make/custom/HPUX9-posix.cfg +++ b/make/custom/HPUX9-posix.cfg @@ -33,9 +33,6 @@ LIBC_DEFINES=-DRTEMS_UNIXLIB -DRTEMS_UNIX -DMALLOC_PROVIDED -DRTEMS_DEBUG LIBC_DEFINES += -DWORKSPACE_MB=2 LIBC_DEFINES += -DHEAPSPACE_MB=1 -# Define this to yes if this target supports multiprocessor environments. -HAS_MP=yes - # This target does NOT support the TCP/IP stack so ignore requests # to enable it. HAS_NETWORKING=no diff --git a/make/custom/Linux-posix.cfg b/make/custom/Linux-posix.cfg index fcd9c9be5b..106ac47d8f 100644 --- a/make/custom/Linux-posix.cfg +++ b/make/custom/Linux-posix.cfg @@ -35,9 +35,6 @@ HAS_CPLUSPLUS=yes CPLUS_LD_LIBS += $(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA) endif -# Define this to yes if this target supports multiprocessor environments. -HAS_MP=yes - # This target does NOT support the TCP/IP stack so ignore requests # to enable it. HAS_NETWORKING=no diff --git a/make/custom/Solaris-posix.cfg b/make/custom/Solaris-posix.cfg index 0120081bb7..0d86f96bc1 100644 --- a/make/custom/Solaris-posix.cfg +++ b/make/custom/Solaris-posix.cfg @@ -33,9 +33,6 @@ HAS_CPLUSPLUS=yes CPLUS_LD_LIBS=$(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA) endif -# Define this to yes if this target supports multiprocessor environments. -HAS_MP=yes - # This target does NOT support the TCP/IP stack so ignore requests # to enable it. HAS_NETWORKING=no diff --git a/make/custom/cvme961.cfg b/make/custom/cvme961.cfg index a868c79964..59ca215544 100644 --- a/make/custom/cvme961.cfg +++ b/make/custom/cvme961.cfg @@ -25,9 +25,6 @@ CPU_CFLAGS = -mca # -O4 is ok for RTEMS CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures -# Define this to yes if this target supports multiprocessor environments. -HAS_MP=yes - # This target does NOT support the TCP/IP stack so ignore requests # to enable it. HAS_NETWORKING=no diff --git a/make/custom/default.cfg b/make/custom/default.cfg index afa1779f3d..dcb7a92c3a 100644 --- a/make/custom/default.cfg +++ b/make/custom/default.cfg @@ -58,7 +58,11 @@ HAS_CPLUSPLUS=no endif # Define this to yes if this target supports multiprocessor environments. +ifeq ($(RTEMS_HAS_MULTIPROCESSING),yes) +HAS_MP=yes +else HAS_MP=no +endif # Define this to yes if this target wants the TCP/IP stack ifeq ($(RTEMS_HAS_NETWORKING),yes) diff --git a/make/custom/dmv177.cfg b/make/custom/dmv177.cfg index 006f81968b..ba19d94782 100644 --- a/make/custom/dmv177.cfg +++ b/make/custom/dmv177.cfg @@ -80,9 +80,6 @@ CPU_CFLAGS = -mcpu=603 # NOTE: some level of -O may be actually required by inline assembler CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions -# Define this to yes if this target supports multiprocessor environments. -HAS_MP=no - # Define this to yes if this target supports a real-time clock. HAS_RTC=yes diff --git a/make/custom/force386.cfg b/make/custom/force386.cfg index 89e7532e10..45e4cd80a7 100644 --- a/make/custom/force386.cfg +++ b/make/custom/force386.cfg @@ -21,9 +21,6 @@ CPU_CFLAGS = # -O4 is ok for RTEMS CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer -# Define this to yes if this target supports multiprocessor environments. -HAS_MP=yes - # This target does NOT support the TCP/IP stack so ignore requests # to enable it. HAS_NETWORKING=no diff --git a/make/custom/gensh1.cfg b/make/custom/gensh1.cfg index b53b3418b0..2ee7beeb4b 100644 --- a/make/custom/gensh1.cfg +++ b/make/custom/gensh1.cfg @@ -24,9 +24,6 @@ RTEMS_BSP_FAMILY=gensh1 # CPU_CFLAGS=-m1 -# Define this to yes if this target supports multiprocessor environments. -HAS_MP=no - # This target does NOT support the TCP/IP stack so ignore requests # to enable it. HAS_NETWORKING=no diff --git a/make/custom/mvme136.cfg b/make/custom/mvme136.cfg index 019ddabbb9..8a1ea00bdb 100644 --- a/make/custom/mvme136.cfg +++ b/make/custom/mvme136.cfg @@ -22,9 +22,6 @@ CPU_CFLAGS = # -O4 is ok for RTEMS CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer -# Define this to yes if this target supports multiprocessor environments. -HAS_MP=yes - # This target does NOT support the TCP/IP stack so ignore requests # to enable it. HAS_NETWORKING=no diff --git a/make/custom/mvme147s.cfg b/make/custom/mvme147s.cfg index 95dfa70f29..6c2686af5c 100644 --- a/make/custom/mvme147s.cfg +++ b/make/custom/mvme147s.cfg @@ -13,7 +13,4 @@ include $(RTEMS_ROOT)/make/custom/mvme147.cfg # This is the actual bsp directory used during the build process. RTEMS_BSP_FAMILY=mvme147s -# Define this to yes if this target supports multiprocessor environments. -HAS_MP=yes - # Miscellaneous additions go here diff --git a/make/custom/no_bsp.cfg b/make/custom/no_bsp.cfg index d4ef58fad9..36e757aeec 100644 --- a/make/custom/no_bsp.cfg +++ b/make/custom/no_bsp.cfg @@ -24,9 +24,6 @@ RTEMS_USE_NEWLIB=no # HAS_CPLUSPLUS=no -# Define this to yes if this target supports multiprocessor environments. -HAS_MP=yes - # This target does NOT support the TCP/IP stack so ignore requests # to enable it. HAS_NETWORKING=no diff --git a/make/custom/simhppa.cfg b/make/custom/simhppa.cfg index 6a7f022336..2426ebbae5 100644 --- a/make/custom/simhppa.cfg +++ b/make/custom/simhppa.cfg @@ -35,9 +35,6 @@ CFLAGS_DEFAULT = $(CPU_CFLAGS) -Wall -ansi -fasm -mgas # NOTE: some level of -O may be actually required by inline assembler CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions -# Define this to yes if this target supports multiprocessor environments. -HAS_MP=yes - # This target does NOT support the TCP/IP stack so ignore requests # to enable it. HAS_NETWORKING=no -- cgit v1.2.3