summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/inline/rtems/score/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/score/inline/rtems/score/Makefile.in')
-rw-r--r--c/src/exec/score/inline/rtems/score/Makefile.in8
1 files changed, 6 insertions, 2 deletions
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)