]> code.ossystems Code Review - openembedded-core.git/commit
populate_sdk_base: Put populate_sdk under sstate control
authorEd Bartosh <ed.bartosh@linux.intel.com>
Thu, 1 Sep 2016 08:56:02 +0000 (11:56 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 3 Sep 2016 23:05:12 +0000 (00:05 +0100)
commit8361376b8ef0147276c9ee31349e904d86900593
tree184a45601c00b54a279e3b676275d04569af8f3d
parent4bd3a90c8fb034b4d899d0560d75d81f56e27e0a
populate_sdk_base: Put populate_sdk under sstate control

Adding populate_sdk task to SSTATE_TASKS should make sstate machinery
to generate manifest for deployed sdk artifacts and do final deployment
to SDK_DEPLOY.

Set stamp-extra-info flag for do_populate_sdk task. This flag is used
in the name of sstate manifest. Setting it to predetermined value for
populate_sdk task should help to get correct manifest filenames when
processing runQueueTask events.

The do_populate_sdk function is also executed by do_populate_sdk_ext
so in order to avoid conflicts with the sstate postfuncs, split
the main code into a separate function.

We also need to set SDKDEPLOYDIR as do_populate_sdk_ext expects
it in order not to break ESDK generation.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_base.bbclass
meta/classes/populate_sdk_ext.bbclass