summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-11-23 17:38:09 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-11-23 17:38:09 +0000
commit97e2729d1a3432b9792b82ce88ce6d804a104f7a (patch)
treece8c041ef504f965a4af05775af348c7023b19f9 /make
parent967f3aaa0cb7d0004b429eaa0ea51cab6d7ab4e0 (diff)
downloadrtems-97e2729d1a3432b9792b82ce88ce6d804a104f7a.tar.bz2
Added --disable-multiprocessing flag and modified a lot of files to make
it work.
Diffstat (limited to 'make')
-rw-r--r--make/custom/FreeBSD-posix.cfg3
-rw-r--r--make/custom/HPUX9-posix.cfg3
-rw-r--r--make/custom/Linux-posix.cfg3
-rw-r--r--make/custom/Solaris-posix.cfg3
-rw-r--r--make/custom/cvme961.cfg3
-rw-r--r--make/custom/default.cfg4
-rw-r--r--make/custom/dmv177.cfg3
-rw-r--r--make/custom/force386.cfg3
-rw-r--r--make/custom/gensh1.cfg3
-rw-r--r--make/custom/mvme136.cfg3
-rw-r--r--make/custom/mvme147s.cfg3
-rw-r--r--make/custom/no_bsp.cfg3
-rw-r--r--make/custom/simhppa.cfg3
-rw-r--r--make/leaf.cfg3
-rw-r--r--make/target.cfg.in1
15 files changed, 8 insertions, 36 deletions
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
diff --git a/make/leaf.cfg b/make/leaf.cfg
index 0553cefdf2..a553943b13 100644
--- a/make/leaf.cfg
+++ b/make/leaf.cfg
@@ -164,6 +164,9 @@ ifeq (${RTEMS_USE_MACROS},yes)
else
@echo "#define USE_INLINES 1" >>$@
endif
+ifeq ($(RTEMS_HAS_MULTIPROCESSING),yes)
+ @echo "#define RTEMS_MULTIPROCESSING 1" >>$@
+endif
ifeq ($(RTEMS_HAS_POSIX_API),yes)
@echo "#define RTEMS_POSIX_API 1" >>$@
endif
diff --git a/make/target.cfg.in b/make/target.cfg.in
index decb674781..2da16b15cc 100644
--- a/make/target.cfg.in
+++ b/make/target.cfg.in
@@ -39,6 +39,7 @@ RTEMS_CROSS_TARGET=@rtems_cv_prog_cc_cross@
RTEMS_HOST = @RTEMS_HOST@
RTEMS_USE_OWN_PDIR = @RTEMS_USE_OWN_PDIR@
+RTEMS_HAS_MULTIPROCESSING = @RTEMS_HAS_MULTIPROCESSING@
RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@
RTEMS_HAS_POSIX_1H_API = @RTEMS_HAS_POSIX_1H_API@
RTEMS_HAS_NETWORKING = @RTEMS_HAS_NETWORKING@