summaryrefslogtreecommitdiff
path: root/tools/buildman/builderthread.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-11-07 18:33:09 -0500
committerTom Rini <trini@konsulko.com>2023-11-07 18:33:09 -0500
commit1e4d9dd871512e1955e45ac1c3095fb063c0d07c (patch)
tree3770d9ca70d5f8447a25bdabe03c7c60f4fd29aa /tools/buildman/builderthread.py
parent3af0e9556c968fc2c40e3778d8f1e668a90af92e (diff)
parentd7f592da6ee90b11cea4d2ad4d0f39d6d26fc3b6 (diff)
Merge branch '2023-11-07-assorted-big-cleanups' into next
- Merge in changes such that CONFIG_CMDLINE can be disabled and merge in a series that starts to remove <common.h> usage.
Diffstat (limited to 'tools/buildman/builderthread.py')
-rw-r--r--tools/buildman/builderthread.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/buildman/builderthread.py b/tools/buildman/builderthread.py
index 6a61f64da1d..a8599c0bb2a 100644
--- a/tools/buildman/builderthread.py
+++ b/tools/buildman/builderthread.py
@@ -426,6 +426,12 @@ class BuilderThread(threading.Thread):
# Now do the build, if everything looks OK
if result.return_code == 0:
+ if adjust_cfg:
+ oldc_args = list(args) + ['oldconfig']
+ oldc_result = self.make(commit, brd, 'oldconfig', cwd,
+ *oldc_args, env=env)
+ if oldc_result.return_code:
+ return oldc_result
result = self._build(commit, brd, cwd, args, env, cmd_list,
config_only)
if adjust_cfg: