summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/include/rtems/score/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/score/include/rtems/score/Makefile.in')
-rw-r--r--c/src/exec/score/include/rtems/score/Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/c/src/exec/score/include/rtems/score/Makefile.in b/c/src/exec/score/include/rtems/score/Makefile.in
index 920e738c03..792ca73fce 100644
--- a/c/src/exec/score/include/rtems/score/Makefile.in
+++ b/c/src/exec/score/include/rtems/score/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 mppkt objectmp threadmp
+MP_PIECES = $(MP_PIECES_$(HAS_MP)_V)
+
# H_FILES that get installed in the rtems/score subdirectoy
H_PIECES= address apiext bitfield chain context copyrt coremsg coremutex \
- coresem heap interr isr mpci mppkt object objectmp \
- priority stack states sysstate thread threadmp threadq \
+ coresem heap interr isr object \
+ priority stack states sysstate thread threadq \
tod tqdata userext watchdog wkspace
H_FILES=$(H_PIECES:%=$(srcdir)/%.h)