Hi, Indeed,there is a luajit recipe in meta-oe. You can have a look at: http://layers.openembedded.org/layerindex/recipe/4918/.
Best Regards, Li Xin From: Burton, Ross [mailto:[email protected]] Sent: Tuesday, October 28, 2014 3:48 PM To: [email protected] Cc: Li, Xin/李 欣; [email protected] Subject: Re: [yocto] Luajit Compile Error 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, <[email protected]<mailto:[email protected]>> 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
-- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
