[Buildroot] [PATCH] luajit: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Jul 17 08:11:46 UTC 2012


Le Tue, 17 Jul 2012 10:07:21 +0200,
François Perrad <francois.perrad at gadz.org> a écrit :

> > No, using TARGET_CROSS directly doesn't work when ccache is enabled.
> > ccache is only used in TARGET_CC and TARGET_CXX, that's why I've done
> > this this way.
> >
> > Can you look at the bitness problem?
> 
> see http://www.freelists.org/post/luajit/crosscompiling-with-different-bitness

Ok, the reply is:
http://www.freelists.org/post/luajit/crosscompiling-with-different-bitness,1

Essentially the first sentence shows that Mike Pall has not seen that
we were talking about cross-compilation. It's not because you're
running under a x86 kernel that you cannot generate binaries for x86-64.

The second sentence shows that the cross-compilation support in luajit
is not really nice.

So the only solution that I see is to integrate the proposal of
Jean-Christophe Plagnol-Villard that allows to have a kconfig option
defining the host architecture, and then do some depends on magic to
only show the package when we have the right architecture combination.
Can you look into this?

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list