bin/menuconfig: Normalize after updating the kernel config
This is needed because the build environment differs in the kernel
normalization step compared to the build step.
@@ -69,6 +69,9 @@ Dir.chdir(ROOT) do
else
system(tool, FILE)
end
+
+ # Force normalize at the end. Otherwise recent kernels (5.8+) will have the wrong compiler data.
+ exec(File.join(ROOT, "bin", "kernel-normalize-config"), *ARGV)
end
# vim: ft=ruby
