diff options
author | Douglas Royds <douglas.royds@taitradio.com> | 2019-03-11 18:51:51 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-12 11:57:41 -0700 |
commit | 7d9b03567d79c51bd47552a474e39d785a301b52 (patch) | |
tree | fdc8e3afe2efafbd7d80e2067e3a26650acff175 /meta/classes | |
parent | 5674cd05fd64c4dd3ea567bc30ec1f761f693a4d (diff) | |
download | poky-7d9b03567d79c51bd47552a474e39d785a301b52.tar.gz |
cmake: Reduce verbosity for make invocation
Since the dawn of time, we have set CMAKE_VERBOSE_MAKEFILE=1 in cmake.bbclass.
Back in 2016, we also explicitly set VERBOSE=1 in cmake_do_compile(),
to ensure that make (and ninja) output were verbose in log.do_compile.
Turning off CMAKE_VERBOSE_MAKEFILE=1 means that make (or ninja)
invocations from the command-line are non-verbose,
giving CMake's default human-readable output on the terminal instead.
The user can still invoke VERBOSE=1 make if they do want verbose output.
This has no effect on the verbose output that goes into the logs.
(From OE-Core rev: 75c4b61513d8b089e835fb8d5923d8749fed7880)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/cmake.bbclass | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index fa7f68c99b..e16630434e 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass | |||
@@ -164,7 +164,6 @@ cmake_do_configure() { | |||
164 | -DCMAKE_INSTALL_DATAROOTDIR:PATH=${@os.path.relpath(d.getVar('datadir'), d.getVar('prefix'))} \ | 164 | -DCMAKE_INSTALL_DATAROOTDIR:PATH=${@os.path.relpath(d.getVar('datadir'), d.getVar('prefix'))} \ |
165 | -DCMAKE_INSTALL_SO_NO_EXE=0 \ | 165 | -DCMAKE_INSTALL_SO_NO_EXE=0 \ |
166 | -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ | 166 | -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ |
167 | -DCMAKE_VERBOSE_MAKEFILE=1 \ | ||
168 | -DCMAKE_NO_SYSTEM_FROM_IMPORTED=1 \ | 167 | -DCMAKE_NO_SYSTEM_FROM_IMPORTED=1 \ |
169 | ${EXTRA_OECMAKE} \ | 168 | ${EXTRA_OECMAKE} \ |
170 | -Wno-dev | 169 | -Wno-dev |