summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/inline
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 /c/src/exec/score/inline
parentAdded networking. (diff)
downloadrtems-97e2729d1a3432b9792b82ce88ce6d804a104f7a.tar.bz2
Added --disable-multiprocessing flag and modified a lot of files to make
it work.
Diffstat (limited to 'c/src/exec/score/inline')
-rw-r--r--c/src/exec/score/inline/Makefile.in8
-rw-r--r--c/src/exec/score/inline/rtems/score/Makefile.in8
2 files changed, 12 insertions, 4 deletions
diff --git a/c/src/exec/score/inline/Makefile.in b/c/src/exec/score/inline/Makefile.in
index f97d3bfcf3..228ef54748 100644
--- a/c/src/exec/score/inline/Makefile.in
+++ b/c/src/exec/score/inline/Makefile.in
@@ -8,9 +8,13 @@ VPATH = @srcdir@
RTEMS_ROOT = @top_srcdir@
PROJECT_ROOT = @PROJECT_ROOT@
+# We only build multiprocessing related files if HAS_MP was defined
+MP_PIECES_yes_V = mppkt objectmp threadmp
+MP_PIECES = $(MP_PIECES_$(HAS_MP)_V)
+
I_PIECES= address chain coremsg coremutex coresem heap \
- isr mppkt object objectmp priority stack states sysstate thread \
- threadmp tod tqdata userext watchdog wkspace
+ isr object priority stack states sysstate thread \
+ tod tqdata userext watchdog wkspace $(MP_PIECES)
I_FILES=$(I_PIECES:%=$(srcdir)/%.inl)
SRCS=$(I_FILES)
diff --git a/c/src/exec/score/inline/rtems/score/Makefile.in b/c/src/exec/score/inline/rtems/score/Makefile.in
index f97d3bfcf3..228ef54748 100644
--- a/c/src/exec/score/inline/rtems/score/Makefile.in
+++ b/c/src/exec/score/inline/rtems/score/Makefile.in
@@ -8,9 +8,13 @@ VPATH = @srcdir@
RTEMS_ROOT = @top_srcdir@
PROJECT_ROOT = @PROJECT_ROOT@
+# We only build multiprocessing related files if HAS_MP was defined
+MP_PIECES_yes_V = mppkt objectmp threadmp
+MP_PIECES = $(MP_PIECES_$(HAS_MP)_V)
+
I_PIECES= address chain coremsg coremutex coresem heap \
- isr mppkt object objectmp priority stack states sysstate thread \
- threadmp tod tqdata userext watchdog wkspace
+ isr object priority stack states sysstate thread \
+ tod tqdata userext watchdog wkspace $(MP_PIECES)
I_FILES=$(I_PIECES:%=$(srcdir)/%.inl)
SRCS=$(I_FILES)