[MPlayer-users] Cross-compilation

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Aug 14 17:50:04 CEST 2007


Hello,
On Tue, Aug 14, 2007 at 08:18:04AM -0700, Eric Nelson wrote:
> Reimar Döffinger wrote:
> > On Tue, Aug 14, 2007 at 06:30:51AM -0700, Eric Nelson wrote:
> >> The patch below allows override of the DESTDIR symbol when doing
> >> "make install". This is useful when creating a filesystem for an
> >> embedded target.
> > 
> > I don't think that is a good way to do it, why can't you just use the
> > --prefix configure option?
> > 
> Using 'prefix' embeds the build-system paths into the executable instead
> of '/usr/local', creating problems building the target filesystem.
> 
> i.e. I get this:
> 
> 	~/userland$ strings root/bin/mplayer | grep /font
> 	font/font.desc
> 	/home/ericn/userland/install/share/mplayer/font/font.desc
> 	/home/ericn/userland/install/share/mplayer/font
> 
> instead of this:
> 
> 	~/userland$ strings root/bin/mplayer | grep /font
> 	font/font.desc
> 	/usr/local/share/mplayer/font/font.desc
> 	/usr/local/share/mplayer/font

Ok, now I understand what you were trying to do exactly.

> In any case, the specification of DESTDIR using ?= should be
> harmless unless overridden, right?

I don't know the details of make, I'd suggest taking it to the -dev-eng
list and let our build system maintainer have a look at it.

Greetings,
Reimar Döffinger



More information about the MPlayer-users mailing list