summaryrefslogtreecommitdiff
path: root/tools/buildman/builderthread.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-11-10 05:14:53 +0300
committerSimon Glass <sjg@chromium.org>2022-11-23 01:13:35 +0300
commitd7713ad36f1d219f6aab87ab2f5bcce2d3c2fafe (patch)
tree8ce6169a620610943588b4838db07299656c7695 /tools/buildman/builderthread.py
parent5f319fa728d0693ca89da741e2f47566e97ae69b (diff)
downloadu-boot-d7713ad36f1d219f6aab87ab2f5bcce2d3c2fafe.tar.xz
buildman: Add --allow-missing flag to allow missing blobs
Add a new flag to buildman so that we will in turn pass BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI. Allow the settings file to control this. Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/builderthread.py')
-rw-r--r--tools/buildman/builderthread.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/buildman/builderthread.py b/tools/buildman/builderthread.py
index 065d836d68..680efae02d 100644
--- a/tools/buildman/builderthread.py
+++ b/tools/buildman/builderthread.py
@@ -253,6 +253,8 @@ class BuilderThread(threading.Thread):
args.extend(['-j', str(self.builder.num_jobs)])
if self.builder.warnings_as_errors:
args.append('KCFLAGS=-Werror')
+ if self.builder.allow_missing:
+ args.append('BINMAN_ALLOW_MISSING=1')
config_args = ['%s_defconfig' % brd.target]
config_out = ''
args.extend(self.builder.toolchains.GetMakeArguments(brd))