summaryrefslogtreecommitdiffstats
path: root/tools/cpu/unix/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'tools/cpu/unix/Makefile.in')
-rw-r--r--tools/cpu/unix/Makefile.in15
1 files changed, 12 insertions, 3 deletions
diff --git a/tools/cpu/unix/Makefile.in b/tools/cpu/unix/Makefile.in
index 75320594ea..e1098093b0 100644
--- a/tools/cpu/unix/Makefile.in
+++ b/tools/cpu/unix/Makefile.in
@@ -4,12 +4,17 @@
@SET_MAKE@
srcdir = @srcdir@
-VPATH = @srcdir@
-RTEMS_ROOT = @top_srcdir@
-PROJECT_ROOT = @PROJECT_ROOT@
+top_srcdir = @top_srcdir@
+top_builddir = ../../../../../..
+subdir = c/src/exec/score/tools/unix
INSTALL = @INSTALL@
+RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
+PROJECT_ROOT = @PROJECT_ROOT@
+
+VPATH = @srcdir@
+
# we use host compiler here for gensize. Hopefully it has same alignment!!
USE_HOST_COMPILER=yes
@@ -58,3 +63,7 @@ preinstall: ${ARCH} $(SRCS) $(PGMS)
# Install the program(s), appending _g or _p as appropriate.
# for include files, just use $(INSTALL_CHANGE)
+
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ cd $(top_builddir) \
+ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status