2014-10-22 Tim Harder <radhermit@gmail.com>
* msp430/Makefile.in: respect DESTDIR during install
This commit is contained in:
parent
1ac9d47a7e
commit
787fa74125
|
@ -1,3 +1,7 @@
|
||||||
|
2014-10-22 Tim Harder <radhermit@gmail.com>
|
||||||
|
|
||||||
|
* msp430/Makefile.in: respect DESTDIR during install
|
||||||
|
|
||||||
2014-09-22 Peter A. Bigot <pab@pabigot.com>
|
2014-09-22 Peter A. Bigot <pab@pabigot.com>
|
||||||
|
|
||||||
* configure.in: Remove config_libnosys=false
|
* configure.in: Remove config_libnosys=false
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
|
|
||||||
# Makefile for libgloss/msp430.
|
# Makefile for libgloss/msp430.
|
||||||
|
|
||||||
|
DESTDIR =
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
objdir = .
|
objdir = .
|
||||||
|
@ -152,12 +153,13 @@ utime.o : $(SDEPS)
|
||||||
write.o : $(SDEPS)
|
write.o : $(SDEPS)
|
||||||
|
|
||||||
install: $(CRT) $(SIM_BSP) $(LIB_CIO) $(LIB_CRT) $(SCRIPTS)
|
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 \
|
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
|
done
|
||||||
for c in $(SCRIPTS); do \
|
for c in $(SCRIPTS); do \
|
||||||
b=`basename $$c`; \
|
b=`basename $$c`; \
|
||||||
$(INSTALL_DATA) $$c $(tooldir)/lib${MULTISUBDIR}/$$b ;\
|
$(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$b ;\
|
||||||
done
|
done
|
||||||
|
|
||||||
clean mostlyclean:
|
clean mostlyclean:
|
||||||
|
|
Loading…
Reference in New Issue