[oe] environment variables in Makefile for cross compilation (was: package VDR for OE)

Paul Menzel paulepanter at users.sourceforge.net
Sun Jan 10 12:40:31 UTC 2010


Am Sonntag, den 13.12.2009, 16:45 +0100 schrieb Paul Menzel:
> Am Sonntag, den 13.12.2009, 15:18 +0100 schrieb Petr Štetiar:
> > Paul Menzel <paulepanter at users.sourceforge.net> [2009-12-13 14:46:20]:
> 
> […]
>  
> > INCLUDES = -I${STAGING_INCDIR}freetype2
> > 
> > to 
> > 
> > INCLUDES = ${CFLAGS}
> > 
> > and in your recipe do:
> > 
> > CFLAGS_append  += " -I${STAGING_INCDIR}/freetype2"
> 
> Great. That worked.
> 
> > > Furthermore is there a better way for upstream to set things up so that
> > > no patching is needed? Or is autotools needed for this?
> 
> I am still asking if upstream could change something to make the
> Makefile cross compilable by default.

Is there an environment variable for a handmade Makefile to make it
cross compilable? Or is patching the upstream Makefile inevitable?

[…]


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20100110/373c16d7/attachment-0002.sig>


More information about the Openembedded-devel mailing list