]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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:07:29 +0000 (00:07 +0100)
commit3c3962d27e659c1da153c588948122dae20a9d93
treec7f461deb4776c52943abe25f9706ef7e14d5c9d
parentbc31120ec6b9d9da862053f6a7b6685edf96aab0
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.

(From OE-Core rev: 8361376b8ef0147276c9ee31349e904d86900593)

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