]> code.ossystems Code Review - openembedded-core.git/commit
distutils3: do out of tree builds
authorRoss Burton <ross.burton@intel.com>
Tue, 10 Dec 2019 13:42:06 +0000 (13:42 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 28 Dec 2019 23:25:34 +0000 (23:25 +0000)
commitde1b57acedaaf01e10059792eb0031ceafcc8b97
treeeec645c05fd909cfa70c373f4e8adfc547ef82ff
parent497ddaca42f805c119c022d77960d1eecc01436b
distutils3: do out of tree builds

Pass --build-base so the build tree is a location we specify, which we
can ensure is empty when building.

This means we can stub out do_configure entirely and use cleandirs
instead.

When installing we need to tell it to do a build so that we can pass
--build-base, so also pass --skip-build to avoid the potential rebuild.

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