summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/src/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/score/src/Makefile.in')
-rw-r--r--c/src/exec/score/src/Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/c/src/exec/score/src/Makefile.in b/c/src/exec/score/src/Makefile.in
index 4548b4cdde..840f2ff15c 100644
--- a/c/src/exec/score/src/Makefile.in
+++ b/c/src/exec/score/src/Makefile.in
@@ -8,10 +8,14 @@ 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 = mpci objectmp threadmp
+MP_PIECES = $(MP_PIECES_$(HAS_MP)_V)
+
# C and C++ source names, if any, go here -- minus the .c or .cc
C_PIECES=apiext chain coremsg coremutex coresem heap interr \
- isr mpci object objectmp thread threadmp threadq tod userext \
- watchdog wkspace
+ isr object thread threadq tod userext \
+ watchdog wkspace $(MP_PIECES)
C_FILES=$(C_PIECES:%=%.c)
C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)