[patch] libgloss: cris: respect DESTDIR when installing
Mike Frysinger
vapier@gentoo.org
Tue Mar 27 20:14:00 GMT 2012
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/newlib/attachments/20120327/4d445668/attachment.sig>
More information about the Newlib
mailing list