]> code.ossystems Code Review - openembedded-core.git/commit
cmake.bbclass: remove ${B} before cmake_do_configure
authorKai Kang <kai.kang@windriver.com>
Fri, 23 Apr 2021 03:29:03 +0000 (11:29 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 24 Apr 2021 16:53:01 +0000 (17:53 +0100)
commit0fb6280432a36985590d9a714a5f11164aaebb51
tree3d65fe06170a04717101a478a0381190191fef7a
parentabaaf8c6bcd368728d298937a9406eb2aebc7a7d
cmake.bbclass: remove ${B} before cmake_do_configure

It is fallible to remove ${B} in directory ${B} itself. And it does fail
when call bitbake by third-party wrapper script.

Use flag 'cleandirs' to remove ${B} first if build out of source tree.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cmake.bbclass