]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/utils: Return empty string in parallel_make
authorTomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Fri, 15 Jan 2021 13:42:31 +0000 (14:42 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 16 Jan 2021 22:39:17 +0000 (22:39 +0000)
commit2f790ded554a52ac18d1c28002142f9c62abec8b
treec7e4586df8c82939da16ea9ce126129f7a6f4ea8
parent95686432ecb7e411155563643d59a3d5f683937c
lib/oe/utils: Return empty string in parallel_make

In cmake.bbclass we set CMAKE_BUILD_PARALLEL_LEVEL using parallel_make
function and if PARALLEL_MAKE is set to empty string then this variable
is exported as "None" causing cmake to fail with:
"'CMAKE_BUILD_PARALLEL_LEVEL' environment variable
invalid number 'None' given."

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/utils.py