generic-poky/bitbake/lib/bb/ui
Elliot Smith 00c2c0be5e bitbake: toaster: improve scan for SDK artifacts
SDK artifacts were previously picked up by toaster.bbclass and
notified to buildinfohelper (via toasterui). The artifacts
were then added to the Build object, so that it wasn't clear
which artifact went with which target; we were also unable
to attach SDK artifacts to a Build if they had already been
attached to a previous build.

Now, toaster.bbclass just notifies the TOOLCHAIN_OUTPUTNAME when
a populate_sdk* target completes. The scan is moved to buildinfohelper,
where we search the SDK deploy directory for files matching
TOOLCHAIN_OUTPUTNAME and attach them to targets (not builds).

If an SDK file is not produced by a target, we now look for a
similar, previously-run target which did produce artifacts.
If there is one, we clone the SDK artifacts from that target
onto the current one.

This all means that we can show SDK artifacts by target, and should
always get artifacts associated with a target, regardless of whether
it really build them.

This requires an additional model, TargetSDKFile, which tracks
the size and path of SDK artifact files with respect to Target
objects.

[YOCTO #8556]

(Bitbake rev: 5e650c611605507e1e0d1588cd5eb6535c2d34fc)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: bavery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-07-19 08:56:51 +01:00
..
icons bitbake: Add missing file that went out of sync 2013-06-12 13:13:21 +01:00
__init__.py Formatting cleanups 2010-07-02 15:41:32 +01:00
buildinfohelper.py bitbake: toaster: improve scan for SDK artifacts 2016-07-19 08:56:51 +01:00
depexp.py bitbake: depexp.py: port to gtk+3 2016-06-20 17:23:56 +01:00
knotty.py bitbake: knotty: Handle process indicators more gracefully 2016-07-08 09:57:27 +01:00
ncurses.py bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
toasterui.py bitbake: toaster: improve scan for SDK artifacts 2016-07-19 08:56:51 +01:00
uievent.py bitbake: bitbake: fix wrong usage of format_exc 2016-06-16 11:51:26 +01:00
uihelper.py bitbake: knotty: avoid errors when fetching outside of a task 2016-07-19 08:56:50 +01:00