summaryrefslogtreecommitdiffstats
path: root/c/build-tools/src/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/build-tools/src/Makefile.in17
1 files changed, 13 insertions, 4 deletions
diff --git a/c/build-tools/src/Makefile.in b/c/build-tools/src/Makefile.in
index 415017a9aa..40558baec3 100644
--- a/c/build-tools/src/Makefile.in
+++ b/c/build-tools/src/Makefile.in
@@ -4,6 +4,15 @@
@SET_MAKE@
srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+top_builddir = ../../..
+subdir = c/build-tools/src
+
+INSTALL = @INSTALL@
+
+RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
+PROJECT_ROOT = @PROJECT_ROOT@
+
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
@@ -16,10 +25,6 @@ mandir = @mandir@/man$(manext)
EXEEXT=@EXEEXT@
VPATH = @srcdir@
-RTEMS_ROOT = @top_srcdir@
-PROJECT_ROOT = @PROJECT_ROOT@
-
-INSTALL = @INSTALL@
# we use host compiler in this directory
USE_HOST_COMPILER=yes
@@ -70,3 +75,7 @@ $(DESTDIR):
all: $(ARCH) $(DESTDIR) $(SRCS) $(PGMS)
$(INSTALL) $(INSTBINFLAGS) $(PGMS) $(DESTDIR)
+
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ cd $(top_builddir) \
+ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status