]> 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)
committerAnuj Mittal <anuj.mittal@intel.com>
Tue, 19 Jan 2021 03:40:48 +0000 (11:40 +0800)
commit7ee65c50f7a38c22e3fb43b0c89e81aff24a2b7f
tree1d123439f034d6ca1e3c7af1e4d57f6401c15527
parent9504a975c74fc00f3c27b9dbc18316143215b6a3
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>
(cherry picked from commit 2f790ded554a52ac18d1c28002142f9c62abec8b)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/lib/oe/utils.py