]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
binman: bintool: Change make target arg type from string to list
authorLukas Funke <lukas.funke@weidmueller.com>
Wed, 4 Oct 2023 08:56:35 +0000 (10:56 +0200)
committerSimon Glass <sjg@chromium.org>
Fri, 13 Oct 2023 17:15:41 +0000 (10:15 -0700)
The argument type of `build_from_git` was changed from string to list
in d71e7116997f14097735f04cc7847f0a68dbc485.

This commit adapts the argument type of all bintools using this
function.

Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
tools/binman/btool/bootgen.py
tools/binman/btool/fiptool.py
tools/binman/btool/futility.py

index f2ca552dc285d50ced42076835865c05c6c86498..1bc9f0aa96f3e9b0d90114adb7900c1256f36262 100644 (file)
@@ -132,6 +132,6 @@ class Bintoolbootgen(bintool.Bintool):
 
         result = self.build_from_git(
             'https://github.com/Xilinx/bootgen',
-            'all',
+            ['all'],
             'bootgen')
         return result
index c80f8275c4cde79e05d8ca6fc6aa35253e3c0692..34002f54af9b5330220da9427f61535d1c382973 100644 (file)
@@ -109,6 +109,6 @@ class Bintoolfiptool(bintool.Bintool):
             return None
         result = self.build_from_git(
             'https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git',
-            'fiptool',
+            ['fiptool'],
             'tools/fiptool/fiptool')
         return result
index 04c9aefe9b4079889b6b88ec9eb2888e7aeaa3b9..0d3980d071d0defc355509a188682794531e5b0d 100644 (file)
@@ -170,7 +170,7 @@ class Bintoolfutility(bintool.Bintool):
         # .gitcookies file. So use a mirror instead.
         result = self.build_from_git(
             'https://github.com/sjg20/vboot_reference.git',
-            'all',
+            ['all'],
             'build/futility/futility',
             flags=['USE_FLASHROM=0'])
         return result