Commit dc9a49a4 authored by Jan Beulich's avatar Jan Beulich Committed by Sam Ravnborg
Browse files

kconfig: fix time ordering of writes to .kconfig.d and include/linux/autoconf.h

Since .kconfig.d is used as a make dependency of include/linux/autoconf.h, it
should be written earlier than the header file, to avoid a subsequent rebuild
to consider the header outdated.

Signed-Off-By: default avatarJan Beulich <>
Signed-off-by: default avatarSam Ravnborg <>
parent 8cab77a2
......@@ -374,6 +374,7 @@ int conf_write(const char *name)
out_h = fopen(".tmpconfig.h", "w");
if (!out_h)
return 1;
sym = sym_lookup("KERNELVERSION", 0);
......@@ -512,7 +513,6 @@ int conf_write(const char *name)
if (out_h) {
rename(".tmpconfig.h", "include/linux/autoconf.h");
if (!name || basename != conf_def_filename) {
if (!name)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment