]> code.ossystems Code Review - openembedded-core.git/commit
archiver: generalise task running when in configured mode
authorRoss Burton <ross.burton@intel.com>
Fri, 28 Sep 2018 13:45:41 +0000 (14:45 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 1 Oct 2018 12:04:44 +0000 (13:04 +0100)
commitfe26382f94d8cb7d2453d9937aee451b757252b8
tree839b0b4ab94cf99b178b794a061dbac61fa6a95a
parent5c8aa1f41f04519a8ba3997c0d8e3a71fe270fae
archiver: generalise task running when in configured mode

When in configured mode the archive will re-run configure itself, but that
doesn't work if there are other tasks that need to run such as cmake's
generate_toolchain_file.

Instead of hard-coding a list of classes and tasks, obtain the list of tasks
preceeding do_configure, filter out ones we don't want to re-run such as
do_patch and do_prepare_recipe_sysroot, and run those too.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/archiver.bbclass