Re: Select make target for cmake
Burton, Ross <ross.burton@...>
On 10 December 2015 at 17:24, Philipp, Damian <Damian.Philipp@...> 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