This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] libgloss: cris: respect DESTDIR when installing


seems i can't catch a break ;).  installing for cris-elf fails:
/usr/bin/install: cannot create regular file `/usr/cris-elf/lib/libsyslinux.a': 
No such file or directory
make[3]: *** [install-lin] Error 1

this is because one of the install steps in libgloss ignores DESTDIR.  patch 
below.
-mike

2012-03-23  Mike Frysinger  <vapier@gentoo.org>

	* cris/Makefile.in (install-lin): Add $(DESTDIR) before ${tooldir}.

--- libgloss/cris/Makefile.in	1 Dec 2007 13:14:07 -0000	1.4
+++ libgloss/cris/Makefile.in	23 Mar 2012 23:01:14 -0000
@@ -228,7 +228,7 @@ install-lin:
           *) \
 	    set -e; \
 	    for x in ${LIN_BSP} ${LIN_SCRIPTS} ${LIN_EXTRA}; do \
-	      ${INSTALL_DATA} $$x ${tooldir}/lib${MULTISUBDIR}/$$x; \
+	      ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \
 	    done;; \
 	esac
 

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]