On Tuesday, October 28, 2014, Burton, Ross <[email protected]> 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, <[email protected] > <javascript:_e(%7B%7D,'cvml','[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
