]> code.ossystems Code Review - openembedded-core.git/commit
cmake: allow target names to be overridden
authorRoss Burton <ross.burton@intel.com>
Tue, 16 Jan 2018 13:25:15 +0000 (13:25 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 17 Jan 2018 16:32:41 +0000 (16:32 +0000)
commit806765ec466597d38231d4be303cb48c26e21466
tree7f3f48811e0e45818e70e00f7a1d6bf67644f48c
parent6d24b0bc7ebddd10de5ad8f210b8ed85fc6ae769
cmake: allow target names to be overridden

Don't hardcode the targets used in do_compile and do_install, instead build
"all" and "install" by default but respect OECMAKE_TARGET_COMPILE and
OECMAKE_TARGET_INSTALL variables.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cmake.bbclass