diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-20 14:06:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-21 21:00:35 +0100 |
commit | 004b0e03e1111b6a0f4920c339a1e9c920b872a1 (patch) | |
tree | 6c3ad96d11098a260fa1fbc8642d25eab6fc8345 /bitbake/lib/bb/ui | |
parent | ebf1e9050137bd2b69ae4cafdd6ffe2b45b6a90d (diff) | |
download | poky-004b0e03e1111b6a0f4920c339a1e9c920b872a1.tar.gz |
bitbake: buildinfohelper: Drop unused function
The function has a loop where the variable is never used which I was going
to fix but the entire function never seems to be called so remove it entirely.
(Bitbake rev: 3bcb20f025907f4e88bbe3d14f5638d5f01010cb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui')
-rw-r--r-- | bitbake/lib/bb/ui/buildinfohelper.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py index 9c4215f9a2..c4ca267783 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py | |||
@@ -1062,27 +1062,6 @@ class BuildInfoHelper(object): | |||
1062 | 1062 | ||
1063 | return recipe_info | 1063 | return recipe_info |
1064 | 1064 | ||
1065 | def _get_path_information(self, task_object): | ||
1066 | self._ensure_build() | ||
1067 | |||
1068 | assert isinstance(task_object, Task) | ||
1069 | build_stats_format = "{tmpdir}/buildstats/{buildname}/{package}/" | ||
1070 | build_stats_path = [] | ||
1071 | |||
1072 | for t in self.internal_state['targets']: | ||
1073 | buildname = self.internal_state['build'].build_name | ||
1074 | pe, pv = task_object.recipe.version.split(":",1) | ||
1075 | if pe: | ||
1076 | package = task_object.recipe.name + "-" + pe + "_" + pv | ||
1077 | else: | ||
1078 | package = task_object.recipe.name + "-" + pv | ||
1079 | |||
1080 | build_stats_path.append(build_stats_format.format(tmpdir=self.tmp_dir, | ||
1081 | buildname=buildname, | ||
1082 | package=package)) | ||
1083 | |||
1084 | return build_stats_path | ||
1085 | |||
1086 | 1065 | ||
1087 | ################################ | 1066 | ################################ |
1088 | ## external available methods to store information | 1067 | ## external available methods to store information |