]> code.ossystems Code Review - openembedded-core.git/commit
rm_work.bbclass: introduce do_build_without_rm_work
authorPatrick Ohly <patrick.ohly@intel.com>
Wed, 29 Mar 2017 11:29:49 +0000 (13:29 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Mar 2017 09:04:06 +0000 (10:04 +0100)
commit04a7b8d6d2e86cc4dd1362c775f5e3ac1eb1d19d
tree19b4139cde39c82a02cafe5d8c56d1b10dac771f
parent7ee548b9f6f2893caf6b5ade8c892f2968d4ec47
rm_work.bbclass: introduce do_build_without_rm_work

Some classes, for example populate_sdk_ext.bbclass, must be able to
trigger a full build of a recipe without also triggering
do_rm_work. They cannot depend on do_build anymore, because that would
trigger do_rm_work.

Instead, do_build_without_rm_work can be used. It has the exact same
dependencies as do_build, minus do_rm_work and do_rm_work_all.

This may also be useful in a test build of a recipe where one wants
to preserve the work directory without having to modify configuration
settings:
   bitbake foobar:do_build_without_rm_work

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/rm_work.bbclass