This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [patch] libgloss: cris: respect DESTDIR when installing
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: Newlib Mailing List <newlib at sourceware dot org>
- Date: Fri, 23 Mar 2012 22:12:10 -0400 (EDT)
- Subject: Re: [patch] libgloss: cris: respect DESTDIR when installing
- References: <201203231908.49499.vapier@gentoo.org>
On Fri, 23 Mar 2012, Mike Frysinger wrote:
> 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.
Huh, looks like I never used DESTDIR...
> 2012-03-23 Mike Frysinger <vapier@gentoo.org>
>
> * cris/Makefile.in (install-lin): Add $(DESTDIR) before ${tooldir}.
Ok, thanks. Obvious and all that.
brgds, H-P