Make oldconfig to prevent upstream clobbers

This commit is contained in:
2025-08-08 20:50:07 -04:00
parent 3ba76a4e8d
commit e3ce0b6e57

View File

@@ -631,6 +631,15 @@ from_source() {
# Serial make prep is more reliable # Serial make prep is more reliable
execute make "${make_opts[@]}" "-j1" defconfig execute make "${make_opts[@]}" "-j1" defconfig
# Re-apply custom config options after defconfig
for config in "${config_opts[@]}"; do
debug "Re-applying $config to $seed_file"
echo "$config" >> "$seed_file"
done
execute make "${make_opts[@]}" "-j1" oldconfig
execute make "${make_opts[@]}" "-j1" download execute make "${make_opts[@]}" "-j1" download
# make_opts+=("-j$(($(nproc)-1))") # make_opts+=("-j$(($(nproc)-1))")