diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-02 11:22:41 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-04 00:07:29 +0100 |
commit | e1de69667481749d4e1081210a3a216378d034c9 (patch) | |
tree | a5bdc3f649306136229aaece93f7f7540d86acd2 /meta/classes/populate_sdk_ext.bbclass | |
parent | 3c3962d27e659c1da153c588948122dae20a9d93 (diff) | |
download | poky-e1de69667481749d4e1081210a3a216378d034c9.tar.gz |
populate_sdk_ext: Put populate_sdk_ext under sstate control
Adding populate_sdk task to SSTATE_TASKS should make sstate machinery
to generate manifest for deployed ext sdk artifacts and do final deployment
to SDK_DEPLOY.
This is done in a similar way to do_populate_sdk in a previous patch.
(From OE-Core rev: ea3587e626a184c53dc0f484d1a0299b2b00641d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_ext.bbclass')
-rw-r--r-- | meta/classes/populate_sdk_ext.bbclass | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index 906ae749fc..d8d123a0e5 100644 --- a/meta/classes/populate_sdk_ext.bbclass +++ b/meta/classes/populate_sdk_ext.bbclass | |||
@@ -599,7 +599,7 @@ fakeroot python do_populate_sdk_ext() { | |||
599 | buildtools_fn = get_current_buildtools(d) | 599 | buildtools_fn = get_current_buildtools(d) |
600 | d.setVar('SDK_REQUIRED_UTILITIES', get_sdk_required_utilities(buildtools_fn, d)) | 600 | d.setVar('SDK_REQUIRED_UTILITIES', get_sdk_required_utilities(buildtools_fn, d)) |
601 | d.setVar('SDK_BUILDTOOLS_INSTALLER', buildtools_fn) | 601 | d.setVar('SDK_BUILDTOOLS_INSTALLER', buildtools_fn) |
602 | d.setVar('SDKDEPLOYDIR', '${DEPLOY_DIR}/sdk') | 602 | d.setVar('SDKDEPLOYDIR', '${SDKEXTDEPLOYDIR}') |
603 | 603 | ||
604 | populate_sdk_common(d) | 604 | populate_sdk_common(d) |
605 | } | 605 | } |
@@ -653,4 +653,13 @@ do_populate_sdk_ext[vardeps] += "copy_buildsystem \ | |||
653 | # always runs. | 653 | # always runs. |
654 | do_populate_sdk_ext[nostamp] = "1" | 654 | do_populate_sdk_ext[nostamp] = "1" |
655 | 655 | ||
656 | SDKEXTDEPLOYDIR = "${WORKDIR}/deploy-${PN}-populate-sdk-ext" | ||
657 | |||
658 | SSTATETASKS += "do_populate_sdk_ext" | ||
659 | SSTATE_SKIP_CREATION_task-populate-sdk-ext = '1' | ||
660 | do_populate_sdk_ext[cleandirs] = "${SDKDEPLOYDIR}" | ||
661 | do_populate_sdk_ext[sstate-inputdirs] = "${SDKEXTDEPLOYDIR}" | ||
662 | do_populate_sdk_ext[sstate-outputdirs] = "${SDK_DEPLOY}" | ||
663 | do_populate_sdk_ext[stamp-extra-info] = "${MACHINE}" | ||
664 | |||
656 | addtask populate_sdk_ext after do_sdk_depends | 665 | addtask populate_sdk_ext after do_sdk_depends |