]> code.ossystems Code Review - openembedded-core.git/commit
externalsrc.bbclass: Add task buildclean
authorOla x Nilsson <ola.x.nilsson@axis.com>
Mon, 9 Jan 2017 16:44:57 +0000 (17:44 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Jan 2017 18:01:53 +0000 (18:01 +0000)
commitcfaad320d9565003e97893efcb14d00d0b8e23bb
treec565e8082965874d1b5dd1122641b1b8c9ba035d
parent785f0343d04c1684363b5289a3012cf7e1caa95f
externalsrc.bbclass: Add task buildclean

The buildclean task should call the package build system clean
command, just implemented for Make for now.

This is meant for recipes where S == B, but can be useful as a
standalone task for other recipes too.

When S == B, set it to run before do_clean which will do what most
developers expect when calling bitbake -c clean.  For S != B, do not
add it before clean as it is not needed and may take some time.

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/externalsrc.bbclass