[yocto] Select make target for cmake
Burton, Ross
ross.burton at intel.com
Thu Dec 10 13:56:54 PST 2015
On 10 December 2015 at 17:24, Philipp, Damian <Damian.Philipp at vector.com>
wrote:
> A Google search didn't turn up anything, so I looked through
> cmake.bbclass, autotools.bbclass and base.bbclass. The source indicated
> that the variable EXTRA_OEMAKE could be abused to inject a make target -
> however, setting EXTRA_OEMAKE = "server" in my recipe did *not* exclude the
> client binaries from the resulting image. In any case, I would prefer a
> clean solution over abusing implementation details.
A clearer way would be to do:
do_compile() {
oe_runmake server
}
It's possible that the compile phase is building just the server, but then
install is building and installing everything.
Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20151210/b936183c/attachment.html>
More information about the yocto
mailing list