2010/1/10 Paul Menzel <[email protected]>: > 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 <[email protected]> [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?
You can always have your own makefile in the recipe dir and overwrite the existing one in a patch. But personally I prefer patches to makefiles, as you can piggyback on changes in the original makefile (or worst case, if the patch fails on a newer version you know that some work is waiting. Frans > > […] > > > Thanks, > > Paul > > _______________________________________________ > Openembedded-devel mailing list > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel > > _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
