diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/ui/buildinfohelper.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py index 04ce23afcb..279c5c7823 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py | |||
@@ -866,12 +866,10 @@ class BuildInfoHelper(object): | |||
866 | 866 | ||
867 | def _get_path_information(self, task_object): | 867 | def _get_path_information(self, task_object): |
868 | assert isinstance(task_object, Task) | 868 | assert isinstance(task_object, Task) |
869 | build_stats_format = "{tmpdir}/buildstats/{target}-{machine}/{buildname}/{package}/" | 869 | build_stats_format = "{tmpdir}/buildstats/{buildname}/{package}/" |
870 | build_stats_path = [] | 870 | build_stats_path = [] |
871 | 871 | ||
872 | for t in self.internal_state['targets']: | 872 | for t in self.internal_state['targets']: |
873 | target = t.target | ||
874 | machine = self.internal_state['build'].machine | ||
875 | buildname = self.internal_state['build'].build_name | 873 | buildname = self.internal_state['build'].build_name |
876 | pe, pv = task_object.recipe.version.split(":",1) | 874 | pe, pv = task_object.recipe.version.split(":",1) |
877 | if len(pe) > 0: | 875 | if len(pe) > 0: |
@@ -879,8 +877,8 @@ class BuildInfoHelper(object): | |||
879 | else: | 877 | else: |
880 | package = task_object.recipe.name + "-" + pv | 878 | package = task_object.recipe.name + "-" + pv |
881 | 879 | ||
882 | build_stats_path.append(build_stats_format.format(tmpdir=self.tmp_dir, target=target, | 880 | build_stats_path.append(build_stats_format.format(tmpdir=self.tmp_dir, |
883 | machine=machine, buildname=buildname, | 881 | buildname=buildname, |
884 | package=package)) | 882 | package=package)) |
885 | 883 | ||
886 | return build_stats_path | 884 | return build_stats_path |