[OE-core] [PATCH 2/3] staging: Fix broken debug code
Richard Purdie
richard.purdie at linuxfoundation.org
Fri Sep 7 11:40:35 UTC 2018
The code currently only prints a single depchain due to overwriting data
instead of appending. Fix this.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/staging.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index a1e4cf70900..84e13bab592 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -301,7 +301,7 @@ python extend_recipe_sysroot() {
data = ""
for dep in deptree:
deps = " " + "\n ".join(deptree[dep][3]) + "\n"
- data = "%s:\n %s\n %s\n%s %s\n %s\n" % (deptree[dep][0], deptree[dep][1], deptree[dep][2], deps, deptree[dep][4], deptree[dep][5])
+ data = data + "%s:\n %s\n %s\n%s %s\n %s\n" % (deptree[dep][0], deptree[dep][1], deptree[dep][2], deps, deptree[dep][4], deptree[dep][5])
return data
#bb.note("Full dep tree is:\n%s" % print_dep_tree(taskdepdata))
--
2.17.1
More information about the Openembedded-core
mailing list