]> code.ossystems Code Review - openembedded-core.git/commit
distutils: clean the build tree in do_configure
authorRoss Burton <ross.burton@intel.com>
Thu, 5 Jul 2018 12:29:29 +0000 (13:29 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Jul 2018 21:54:56 +0000 (22:54 +0100)
commitb805cefb24566772a2beb5d02036266e45370913
tree2126156e446634306a5a30e9dbd2ac49b70daf41
parent67ae24ddb2bebbf8b1c455b8968f8c69844afb9d
distutils: clean the build tree in do_configure

base_do_configure() tries to do "make clean" if there is a Makefile present.
For most recipes using distutils there is not a Makefile, but we do know that
"setup.py clean" will work so call that instead.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/distutils3.bbclass