summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/rtems')
-rw-r--r--c/src/exec/rtems/Makefile.in3
-rw-r--r--c/src/exec/rtems/include/rtems/rtems/Makefile.in22
-rw-r--r--c/src/exec/rtems/src/Makefile.in10
3 files changed, 17 insertions, 18 deletions
diff --git a/c/src/exec/rtems/Makefile.in b/c/src/exec/rtems/Makefile.in
index 247f87d059..7c453f8def 100644
--- a/c/src/exec/rtems/Makefile.in
+++ b/c/src/exec/rtems/Makefile.in
@@ -26,8 +26,7 @@ $(INSTALLDIRS):
SUB_DIRS = include $(INLINE) optman src
-preinstall:
- $(mkinstalldirs) $(INSTALLDIRS)
+preinstall: $(INSTALLDIRS)
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
diff --git a/c/src/exec/rtems/include/rtems/rtems/Makefile.in b/c/src/exec/rtems/include/rtems/rtems/Makefile.in
index d33d741095..d0c2258f6a 100644
--- a/c/src/exec/rtems/include/rtems/rtems/Makefile.in
+++ b/c/src/exec/rtems/include/rtems/rtems/Makefile.in
@@ -13,17 +13,6 @@ PROJECT_ROOT = @PROJECT_ROOT@
VPATH = @srcdir@
-# We only build multiprocessing related files if HAS_MP was defined
-MP_H_PIECES_yes_V = eventmp mp msgmp partmp regionmp semmp signalmp taskmp
-MP_H_PIECES = $(MP_H_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_H_PIECES)
-H_FILES = $(H_PIECES:%=$(srcdir)/%.h)
-
-SRCS = $(H_FILES)
-
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(RTEMS_ROOT)/make/leaf.cfg
@@ -35,6 +24,17 @@ INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/rtems
$(INSTALLDIRS):
@$(mkinstalldirs) $(INSTALLDIRS)
+# We only build multiprocessing related files if HAS_MP was defined
+MP_H_PIECES_yes_V = eventmp mp msgmp partmp regionmp semmp signalmp taskmp
+MP_H_PIECES = $(MP_H_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_H_PIECES)
+H_FILES = $(H_PIECES:%=$(srcdir)/%.h)
+
+SRCS = $(H_FILES)
+
#
# Add your list of files to delete here. The config files
# already know how to delete some stuff, so you may want
diff --git a/c/src/exec/rtems/src/Makefile.in b/c/src/exec/rtems/src/Makefile.in
index c0698129f9..ddb87ed80c 100644
--- a/c/src/exec/rtems/src/Makefile.in
+++ b/c/src/exec/rtems/src/Makefile.in
@@ -13,6 +13,11 @@ PROJECT_ROOT = @PROJECT_ROOT@
VPATH = @srcdir@
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(RTEMS_ROOT)/make/lib.cfg
+
+INSTALL_CHANGE = @INSTALL_CHANGE@
+
# We only build multiprocessing related files if HAS_MP was defined
MP_C_PIECES_yes_V = eventmp mp msgmp partmp regionmp semmp signalmp taskmp
MP_C_PIECES = $(MP_C_PIECES_$(HAS_MP)_V)
@@ -64,11 +69,6 @@ C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
SRCS = $(C_FILES)
OBJS = $(C_O_FILES)
-include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
-include $(RTEMS_ROOT)/make/lib.cfg
-
-INSTALL_CHANGE = @INSTALL_CHANGE@
-
#
# Add local stuff here using +=
#