On Mon, Jun 19, 2017 at 06:12:47PM +0200, Guillermo Rodriguez Garcia wrote:
> Hi Michael,
> 
> Have a look at the manual that Roland linked in his answer:
> http://www.pengutronix.de/software/ptxdist/appnotes/OSELAS.BSP-Pengutronix-Generic-arm-Quickstart.pdf
> 
> Specifically chapter 4, PTXdist Developer’s Manual, and section 4.2,
> Adding new Packages.

Hi Michael,

LuaJIT is not Autotools-based and cross-compilation is complicated:
According to the Makefile, you can only cross-compile from 64-bit host
systems to 32-bit target systems with multilib-libraries. (gcc -m32)
But maybe it's enough to advise the user in the HELP text, that he needs
to have multilib libraries installed on his host system..

You have to pass custom variables in LUAJIT_MAKE_ENV.

Also have a look at Buildroot, how they did it:
https://github.com/buildroot/buildroot/blob/master/package/luajit

Cheers,
Clemens

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to