summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>2022-08-19 16:25:20 +0200
committerSimon Glass <sjg@chromium.org>2022-08-20 18:07:33 -0600
commit9069d55c22f94c0d1ee4e9bb4e43e3e397b1f28f (patch)
tree3d61109e7c01f1f5a3d550ed63e0c7b4390dd7d6 /tools
parentfacc378a869ebe2ee614f6ff9d18ab95fa37fe53 (diff)
binman: Forward AddBintools calls to sub entries in cbfs_util
Forward AddBintools calls to sub entries in cbfs_util to collect bintools of sub entries. Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/binman/etype/cbfs.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/binman/etype/cbfs.py b/tools/binman/etype/cbfs.py
index 4a1837f26c..832f8d038f 100644
--- a/tools/binman/etype/cbfs.py
+++ b/tools/binman/etype/cbfs.py
@@ -296,3 +296,8 @@ class Entry_cbfs(Entry):
# so that child.data is used to pack into the FIP.
self.ObtainContents(skip_entry=child)
return True
+
+ def AddBintools(self, btools):
+ super().AddBintools(btools)
+ for entry in self._entries.values():
+ entry.AddBintools(btools)