summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/tools
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/score/tools')
-rw-r--r--c/src/exec/score/tools/Makefile.in2
-rw-r--r--c/src/exec/score/tools/generic/Makefile.in6
-rw-r--r--c/src/exec/score/tools/hppa1.1/Makefile.in6
-rw-r--r--c/src/exec/score/tools/sh/Makefile.in6
-rw-r--r--c/src/exec/score/tools/unix/Makefile.in6
5 files changed, 18 insertions, 8 deletions
diff --git a/c/src/exec/score/tools/Makefile.in b/c/src/exec/score/tools/Makefile.in
index 6dba1f38f6..72d96812df 100644
--- a/c/src/exec/score/tools/Makefile.in
+++ b/c/src/exec/score/tools/Makefile.in
@@ -8,6 +8,8 @@ VPATH = @srcdir@
RTEMS_ROOT = @top_srcdir@
PROJECT_ROOT = @PROJECT_ROOT@
+INSTALL = @INSTALL@
+
include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
include $(RTEMS_ROOT)/make/directory.cfg
diff --git a/c/src/exec/score/tools/generic/Makefile.in b/c/src/exec/score/tools/generic/Makefile.in
index 33c2fb81dd..d81dfe5ffa 100644
--- a/c/src/exec/score/tools/generic/Makefile.in
+++ b/c/src/exec/score/tools/generic/Makefile.in
@@ -12,6 +12,8 @@ VPATH = @srcdir@
RTEMS_ROOT = @top_srcdir@
PROJECT_ROOT = @PROJECT_ROOT@
+INSTALL = @INSTALL@
+
include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
include $(RTEMS_ROOT)/make/leaf.cfg
include $(RTEMS_ROOT)/make/rtems.cfg
@@ -28,9 +30,9 @@ INSTALLED_PGMS=$(PGMS:%=$(DESTDIR)/%)
all: $(DESTDIR) $(PGMS) install
$(DESTDIR):
- @INSTALL@ $(INSTDIRFLAGS) $@
+ @top_srcdir@/mkinstalldirs $@
$(INSTALLED_PGMS): $(PGMS)
- @INSTALL@ $(INSTBINFLAGS) $^ $@
+ $(INSTALL) $(INSTBINFLAGS) $^ $@
install: $(DESTDIR) $(INSTALLED_PGMS)
diff --git a/c/src/exec/score/tools/hppa1.1/Makefile.in b/c/src/exec/score/tools/hppa1.1/Makefile.in
index 6d3038f1d6..e79c21f6f2 100644
--- a/c/src/exec/score/tools/hppa1.1/Makefile.in
+++ b/c/src/exec/score/tools/hppa1.1/Makefile.in
@@ -8,6 +8,8 @@ VPATH = @srcdir@
RTEMS_ROOT = @top_srcdir@
PROJECT_ROOT = @PROJECT_ROOT@
+INSTALL = @INSTALL@
+
# we use host compiler here for genoffsets. Hopefully it has same alignment!!
USE_HOST_COMPILER=yes
@@ -52,7 +54,7 @@ CLOBBER_ADDITIONS +=
all: ${ARCH} $(SRCS) preinstall $(PGMS)
preinstall: ${ARCH} $(SRCS) $(PGMS)
- $(INSTALL) $(INSTBINFLAGS) ${PGMS} ${PROJECT_RELEASE}/bin
+ $(INSTALL_CHANGE) $(INSTBINFLAGS) ${PGMS} ${PROJECT_RELEASE}/bin
# Install the program(s), appending _g or _p as appropriate.
-# for include files, just use $(INSTALL)
+# for include files, just use $(INSTALL_CHANGE)
diff --git a/c/src/exec/score/tools/sh/Makefile.in b/c/src/exec/score/tools/sh/Makefile.in
index 61cbdc988b..75537ef4ca 100644
--- a/c/src/exec/score/tools/sh/Makefile.in
+++ b/c/src/exec/score/tools/sh/Makefile.in
@@ -10,6 +10,8 @@ VPATH = @srcdir@
RTEMS_ROOT = @top_srcdir@
PROJECT_ROOT = @PROJECT_ROOT@
+INSTALL = @INSTALL@
+
# we use the host compiler here
USE_HOST_COMPILER=yes
@@ -55,8 +57,8 @@ ${PGMS}: $(OBJS) $(LINK_FILES)
$(make-exe)
$(DESTDIR):
- @INSTALL@ $(INSTDIRFLAGS) $@
+ @top_srcdir@/mkinstalldirs $@
# Install the program
install: $(DESTDIR) $(PGMS)
- @INSTALL@ $(INSTBINFLAGS) ${PGMS} $(DESTDIR)
+ $(INSTALL) $(INSTBINFLAGS) ${PGMS} $(DESTDIR)
diff --git a/c/src/exec/score/tools/unix/Makefile.in b/c/src/exec/score/tools/unix/Makefile.in
index 0b8402d15f..75320594ea 100644
--- a/c/src/exec/score/tools/unix/Makefile.in
+++ b/c/src/exec/score/tools/unix/Makefile.in
@@ -8,6 +8,8 @@ VPATH = @srcdir@
RTEMS_ROOT = @top_srcdir@
PROJECT_ROOT = @PROJECT_ROOT@
+INSTALL = @INSTALL@
+
# we use host compiler here for gensize. Hopefully it has same alignment!!
USE_HOST_COMPILER=yes
@@ -52,7 +54,7 @@ CLOBBER_ADDITIONS +=
all: preinstall
preinstall: ${ARCH} $(SRCS) $(PGMS)
- @INSTALL@ $(INSTBINFLAGS) $(PGMS) ${PROJECT_RELEASE}/bin
+ $(INSTALL) $(INSTBINFLAGS) $(PGMS) ${PROJECT_RELEASE}/bin
# Install the program(s), appending _g or _p as appropriate.
-# for include files, just use $(INSTALL)
+# for include files, just use $(INSTALL_CHANGE)