]> 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)
committerAnuj Mittal <anuj.mittal@intel.com>
Mon, 26 Apr 2021 00:58:08 +0000 (08:58 +0800)
commitdb6a315e5f6de02e226e582f878a83c427fd87cc
tree7a0189672f752dcc34c6e8fe85505346fc946a47
parent51b03665de86c14f5b3887a60154b118c0d37aa3
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>
(cherry picked from commit 0fb6280432a36985590d9a714a5f11164aaebb51)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/classes/cmake.bbclass