[yocto] Luajit Compile Error

Khem Raj raj.khem at gmail.com
Tue Oct 28 07:29:10 PDT 2014


On Tuesday, October 28, 2014, Burton, Ross <ross.burton at intel.com> wrote:

> Hi,
>
> It's probably a good idea to put this somewhere public, like a new layer
> on eg github, or add it to meta-oe.  Before then, I've some comments on
> your recipe:
>
>

There already is recipe for luajit in meta-OE


http://cgit.openembedded.org/cgit.cgi/meta-openembedded/tree/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb?h=master

Please search the layer index always before you write new recipes it can
save you time

On 28 October 2014 01:40, <Neil.Wu at emerson.com
> <javascript:_e(%7B%7D,'cvml','Neil.Wu at emerson.com');>> wrote:
>
>> FILESEXTRAPATHS_prepend  := "${THISDIR}/${PN}:"
>>
> #FILESPATH := "${THISDIR}/${PN}"
>>
>
> You don't need to do this.
>
>
>> FILES_${PN} += "/usr/share/* \
>>         /usr/include/* \
>>         /usr/share/lua/* \
>>         /usr/share/luajit-2.0.2/* \
>>         /usr/share/man/* \
>>         /usr/share/lua/5.1/* \
>>         /usr/lib/* \
>>         /usr/bin/*"
>>
>
> Don't put headers into $PN.  The default FILES_${PN} covers most of those
> paths too.
>
>
>> S = "${WORKDIR}/${PN}-${PV}"
>>
>
> This is the default value.
>
>
>> PARALLEL_MAKEINST="PREFIX=${D}/usr"
>>
> PARALLEL_MAKE="'PREFIX=${D}' 'CROSS=${TARGET_SYS}-'  'TARGET_SYS=Linux' "
>>
>
> PARALLEL_MAKE* are specifically for parallelism arguments to make (_MAKE
> for build time, _MAKEINST for make install time).  Set all of these in
> EXTRA_OEMAKE and it will get added passed automatically when you call
> oe_runmake.  Does it really need different values for PREFIX at build and
> install time?
>
> Ross
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20141028/4c6a7466/attachment.html>


More information about the yocto mailing list