summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems/headers/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/rtems/headers/Makefile.in')
-rw-r--r--c/src/exec/rtems/headers/Makefile.in12
1 files changed, 8 insertions, 4 deletions
diff --git a/c/src/exec/rtems/headers/Makefile.in b/c/src/exec/rtems/headers/Makefile.in
index adb4903db8..f5904f6d25 100644
--- a/c/src/exec/rtems/headers/Makefile.in
+++ b/c/src/exec/rtems/headers/Makefile.in
@@ -8,10 +8,14 @@ VPATH = @srcdir@
RTEMS_ROOT = @top_srcdir@
PROJECT_ROOT = @PROJECT_ROOT@
-H_PIECES=asr attr clock config dpmem event eventmp eventset \
- intr message modes mp msgmp options part partmp \
- ratemon region regionmp rtemsapi sem semmp signal signalmp status \
- support taskmp tasks timer types
+# We only build multiprocessing related files if HAS_MP was defined
+MP_PIECES_yes_V = eventmp mp msgmp partmp regionmp semmp signalmp taskmp
+MP_PIECES = $(MP_PIECES_$(HAS_MP)_V)
+
+H_PIECES=asr attr clock config dpmem event eventset \
+ intr message modes options part \
+ ratemon region rtemsapi sem signal status \
+ support tasks timer types $(MP_PIECES)
H_FILES=$(H_PIECES:%=$(srcdir)/%.h)
# H_FILES that get installed externally