[PATCH v6 04/21] binman: Forward AddBintools calls to base class
Stefan Herbrechtsmeier
stefan.herbrechtsmeier-oss at weidmueller.com
Fri Aug 19 16:25:21 CEST 2022
From: Stefan Herbrechtsmeier <stefan.herbrechtsmeier at weidmueller.com>
Forward AddBintools calls to base class to collect bintools of base
class.
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier at weidmueller.com>
---
(no changes since v5)
Changes in v5:
- Add commit to forward AddBintools calls to base class
tools/binman/etype/gbb.py | 1 +
tools/binman/etype/intel_ifwi.py | 1 +
tools/binman/etype/mkimage.py | 1 +
tools/binman/etype/section.py | 1 +
tools/binman/etype/vblock.py | 1 +
5 files changed, 5 insertions(+)
diff --git a/tools/binman/etype/gbb.py b/tools/binman/etype/gbb.py
index 7394e4e5d3..ba2a362bb5 100644
--- a/tools/binman/etype/gbb.py
+++ b/tools/binman/etype/gbb.py
@@ -100,4 +100,5 @@ class Entry_gbb(Entry):
return True
def AddBintools(self, btools):
+ super().AddBintools(btools)
self.futility = self.AddBintool(btools, 'futility')
diff --git a/tools/binman/etype/intel_ifwi.py b/tools/binman/etype/intel_ifwi.py
index 4fa7d636fe..04fad401ee 100644
--- a/tools/binman/etype/intel_ifwi.py
+++ b/tools/binman/etype/intel_ifwi.py
@@ -144,4 +144,5 @@ class Entry_intel_ifwi(Entry_blob_ext):
entry.WriteSymbols(self)
def AddBintools(self, btools):
+ super().AddBintools(btools)
self.ifwitool = self.AddBintool(btools, 'ifwitool')
diff --git a/tools/binman/etype/mkimage.py b/tools/binman/etype/mkimage.py
index 5f6def2287..16a4eb4744 100644
--- a/tools/binman/etype/mkimage.py
+++ b/tools/binman/etype/mkimage.py
@@ -105,4 +105,5 @@ class Entry_mkimage(Entry):
entry.CheckFakedBlobs(faked_blobs_list)
def AddBintools(self, btools):
+ super().AddBintools(btools)
self.mkimage = self.AddBintool(btools, 'mkimage')
diff --git a/tools/binman/etype/section.py b/tools/binman/etype/section.py
index bd67238b91..48165abf6a 100644
--- a/tools/binman/etype/section.py
+++ b/tools/binman/etype/section.py
@@ -899,5 +899,6 @@ class Entry_section(Entry):
entry.CheckAltFormats(alt_formats)
def AddBintools(self, btools):
+ super().AddBintools(btools)
for entry in self._entries.values():
entry.AddBintools(btools)
diff --git a/tools/binman/etype/vblock.py b/tools/binman/etype/vblock.py
index c3ef08bbb2..04cb7228aa 100644
--- a/tools/binman/etype/vblock.py
+++ b/tools/binman/etype/vblock.py
@@ -98,4 +98,5 @@ class Entry_vblock(Entry_collection):
return self.ProcessContentsUpdate(data)
def AddBintools(self, btools):
+ super().AddBintools(btools)
self.futility = self.AddBintool(btools, 'futility')
--
2.30.2
More information about the U-Boot
mailing list