diff options
author | Tom Rini <trini@konsulko.com> | 2022-09-26 11:27:30 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-09-26 11:27:30 -0400 |
commit | ffa2c88bcf8618b6d6fb71f5263beede9a179b20 (patch) | |
tree | 750fa5677f89e5b7b48d1510cba9978a2b13b15e /tools/binman/btool/futility.py | |
parent | 9114b7cee817789ad59e0fb6d5cd57f50668b4e1 (diff) | |
parent | 3c1ec13317292933fd01d9c60aae3ff1d5bc171e (diff) |
Merge branch 'next' of https://gitlab.denx.de/u-boot/custodians/u-boot-riscv into next
Diffstat (limited to 'tools/binman/btool/futility.py')
-rw-r--r-- | tools/binman/btool/futility.py | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/tools/binman/btool/futility.py b/tools/binman/btool/futility.py index 75a05c2ac6..04c9aefe9b 100644 --- a/tools/binman/btool/futility.py +++ b/tools/binman/btool/futility.py @@ -160,8 +160,17 @@ class Bintoolfutility(bintool.Bintool): Raises: Valuerror: Fetching could not be completed """ - if method != bintool.FETCH_BIN: + if method != bintool.FETCH_BUILD: return None - fname, tmpdir = self.fetch_from_drive( - '1hdsInzsE4aJbmBeJ663kYgjOQyW1I-E0') - return fname, tmpdir + + # The Chromium OS repo is here: + # https://chromium.googlesource.com/chromiumos/platform/vboot_reference/ + # + # Unfortunately this requires logging in and obtaining a line for the + # .gitcookies file. So use a mirror instead. + result = self.build_from_git( + 'https://github.com/sjg20/vboot_reference.git', + 'all', + 'build/futility/futility', + flags=['USE_FLASHROM=0']) + return result |