1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-16 11:43:21 +03:00

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.
This commit is contained in:
Samuel Dionne-Riel 2020-09-29 22:17:50 -04:00
parent a2ef48313e
commit bbc73e40ed

View File

@ -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