summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-05-10 08:05:32 -1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-05-12 13:41:42 +0100
commit98472efbcafea362a6c144280ac0c583074f61a0 (patch)
treed68c927921b9cc0832201ab61a244d6197344fa0 /bitbake
parent2c3009eb3ac70e420a36d5c043ed2cce035320be (diff)
downloadpoky-98472efbcafea362a6c144280ac0c583074f61a0.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: d739799a1e68dc2ad0414d4ae7d9e079cedcee3c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3bcb20f025907f4e88bbe3d14f5638d5f01010cb) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/buildinfohelper.py21
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