diff options
author | Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com> | 2017-06-09 12:01:26 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-12 23:01:23 +0100 |
commit | 1b804d7944f3f2bfe9a414b045f313a0e1bff817 (patch) | |
tree | 42c5e48f4c401debb8ca96abdcbbd1e830383154 /meta/classes/buildhistory.bbclass | |
parent | 08a4705af9cc677b32fd6489e67f86f7e9d6e92c (diff) | |
download | poky-1b804d7944f3f2bfe9a414b045f313a0e1bff817.tar.gz |
meta/classes/populate_sdk: Adds support for generating eSDK manifest files
Add get_extra_sdk_info to reuse code in buildhistory
The functionalities to generate SDK and eSDK manifest files are different,
the SDK comes from package information and the eSDK comes from sstate artifacts.
Only execute write_sdk_{host, target}_manifest when is on populate_sdk class.
Adds new functions write_sdk{host, target}_ext_manifest to execute on postprocess
in populate_sdk_ext because at the end we have all the sstate artifacts to
generate the manifest.
[YOCTO #9038]
(From OE-Core rev: 25ad7ed6f7bb0c931b404bda09576323200d093d)
Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/buildhistory.bbclass')
-rw-r--r-- | meta/classes/buildhistory.bbclass | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index 779a1a67e0..601b29f5a1 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass | |||
@@ -589,7 +589,6 @@ END | |||
589 | 589 | ||
590 | python buildhistory_get_extra_sdkinfo() { | 590 | python buildhistory_get_extra_sdkinfo() { |
591 | import operator | 591 | import operator |
592 | import math | ||
593 | from oe.sdk import get_extra_sdkinfo | 592 | from oe.sdk import get_extra_sdkinfo |
594 | 593 | ||
595 | sstate_dir = d.expand('${SDK_OUTPUT}/${SDKPATH}/sstate-cache') | 594 | sstate_dir = d.expand('${SDK_OUTPUT}/${SDKPATH}/sstate-cache') |