[yocto] Luajit Compile Error
Burton, Ross
ross.burton at intel.com
Tue Oct 28 00:47:51 PDT 2014
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:
On 28 October 2014 01:40, <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/1981ac33/attachment.html>
More information about the yocto
mailing list