diff options
Diffstat (limited to '')
-rw-r--r-- | tools/cpu/generic/Makefile.in | 5 | ||||
-rw-r--r-- | tools/cpu/unix/Makefile.in | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/tools/cpu/generic/Makefile.in b/tools/cpu/generic/Makefile.in index 419b20b96c..e5fdec7d7f 100644 --- a/tools/cpu/generic/Makefile.in +++ b/tools/cpu/generic/Makefile.in @@ -22,13 +22,12 @@ PGMS=size_rtems INSTALLED=$(PGMS:%=$(DESTDIR)/%) all: $(DESTDIR) $(PGMS) install - echo $(DESTDIR) $(DESTDIR): - [ -d $@ ] || $(MKDIR) $@ + $(BSDINSTALL) $(INSTDIRFLAGS) $@ install: $(INSTALLED) # Install the program $(DESTDIR)/%: % - $(make-script) + $(BSDINSTALL) $(INSTBINFLAGS) $^ $@ diff --git a/tools/cpu/unix/Makefile.in b/tools/cpu/unix/Makefile.in index 6041f15730..f49c25c734 100644 --- a/tools/cpu/unix/Makefile.in +++ b/tools/cpu/unix/Makefile.in @@ -50,7 +50,7 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) $(PGMS) - $(INSTALL) -m 555 ${PGMS} ${PROJECT_RELEASE}/bin + $(BSDINSTALL) $(INSTBINFLAGS) ${PGMS} ${PROJECT_RELEASE}/bin preinstall: |