]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
buildman: Avoid rebuilding when --mrproper is used
authorSimon Glass <sjg@chromium.org>
Sun, 23 Jun 2024 17:55:12 +0000 (11:55 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 3 Jul 2024 06:36:33 +0000 (07:36 +0100)
When this flag is enabled, 'make mrproper' is always used when
reconfiguring, so there is no point in doing it again.

Update this.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/builderthread.py

index 0a7ff2e083e0c70bda2df856a679319b8a119bfe..c0b1067e3f7bc260d79cb06413d1d483dff68078 100644 (file)
@@ -700,7 +700,7 @@ class BuilderThread(threading.Thread):
                         job.work_in_output, job.adjust_cfg)
                 failed = result.return_code or result.stderr
                 did_config = do_config
-                if failed and not do_config:
+                if failed and not do_config and not self.mrproper:
                     # If our incremental build failed, try building again
                     # with a reconfig.
                     if self.builder.force_config_on_failure: