[oe-commits] [openembedded-core] 09/10: cmake: Reduce verbosity for make invocation

git at git.openembedded.org git at git.openembedded.org
Mon Mar 11 12:37:28 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit c7183d7d7efc54260a866ce829fea20ac4012193
Author: Douglas Royds <douglas.royds at taitradio.com>
AuthorDate: Mon Mar 11 18:51:51 2019 +1300

    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.
    
    Signed-off-by: Douglas Royds <douglas.royds at taitradio.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/cmake.bbclass | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass
index fa7f68c..e166304 100644
--- a/meta/classes/cmake.bbclass
+++ b/meta/classes/cmake.bbclass
@@ -164,7 +164,6 @@ cmake_do_configure() {
 	  -DCMAKE_INSTALL_DATAROOTDIR:PATH=${@os.path.relpath(d.getVar('datadir'), d.getVar('prefix'))} \
 	  -DCMAKE_INSTALL_SO_NO_EXE=0 \
 	  -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \
-	  -DCMAKE_VERBOSE_MAKEFILE=1 \
 	  -DCMAKE_NO_SYSTEM_FROM_IMPORTED=1 \
 	  ${EXTRA_OECMAKE} \
 	  -Wno-dev

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list