summaryrefslogtreecommitdiffstats
path: root/scripts/buildhistory-collect-srcrevs
diff options
context:
space:
mode:
authorCody P Schafer <dev@codyps.com>2017-05-04 13:50:42 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-23 17:45:36 +0100
commit579d17ba5f722edb9fe79682480c4a9508ad0ed4 (patch)
tree4f71f96fdf3332020673cd550219bbf3a0f3208f /scripts/buildhistory-collect-srcrevs
parent74ed0a2615a56460be913191af78152d7fdad593 (diff)
downloadpoky-579d17ba5f722edb9fe79682480c4a9508ad0ed4.tar.gz
cmake.bbclass: use `cmake --build` to build & install
Rather than presuming `make` is the generator, use cmake's generic `cmake --build` feature (which knows to call the appropriate generator). Both DESTDIR and VERBOSE still behave as intended when used as environment variables instead of make variable-arguments. As cmake-based builds don't do any configuration with `make` invocations, we only pass `PARALLEL_MAKE{,INST}` (via a EXTRA_OECMAKE_BUILD variable) to the underlying build tool. Make & ninja support the same `-j N` option (and a few others), so this does happen to work for both. This makes it more straight forward for others to select other cmake generators (many folks have been reaching for `ninja` lately). CC: Andre McCurdy <armccurdy@gmail.com> (From OE-Core rev: 2b06cb961edbe52ff66e8edccd007edd0795c30b) Signed-off-by: Cody P Schafer <dev@codyps.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/buildhistory-collect-srcrevs')
0 files changed, 0 insertions, 0 deletions