Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2014-10-23 05:49:49 +0400
committerDJ Delorie <dj@redhat.com>2014-10-23 05:49:49 +0400
commit787fa74125794427c5334019bcb295960286ceaf (patch)
tree9ff5187e8cdf799863a0ce064a90d6105b8e8c66 /libgloss/msp430
parent1ac9d47a7e977ec3f74a29bf65e1da3bc03474f5 (diff)
2014-10-22 Tim Harder <radhermit@gmail.com>
* msp430/Makefile.in: respect DESTDIR during install
Diffstat (limited to 'libgloss/msp430')
-rw-r--r--libgloss/msp430/Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/libgloss/msp430/Makefile.in b/libgloss/msp430/Makefile.in
index d72051dcb..b9f5a6aff 100644
--- a/libgloss/msp430/Makefile.in
+++ b/libgloss/msp430/Makefile.in
@@ -12,6 +12,7 @@
# Makefile for libgloss/msp430.
+DESTDIR =
VPATH = @srcdir@
srcdir = @srcdir@
objdir = .
@@ -152,12 +153,13 @@ utime.o : $(SDEPS)
write.o : $(SDEPS)
install: $(CRT) $(SIM_BSP) $(LIB_CIO) $(LIB_CRT) $(SCRIPTS)
+ mkdir -p $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
for c in $(CRT) $(SIM_BSP) $(LIB_CIO) $(LIB_CRT); do \
- $(INSTALL_DATA) $$c $(tooldir)/lib${MULTISUBDIR}/$$c ;\
+ $(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$c ;\
done
for c in $(SCRIPTS); do \
b=`basename $$c`; \
- $(INSTALL_DATA) $$c $(tooldir)/lib${MULTISUBDIR}/$$b ;\
+ $(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$b ;\
done
clean mostlyclean: