`make oldconfig' no longer updating `.config.old'?
Hi,
I have the habit of doing make .config{.old,}' after each config run, to see what was changed. But since a few weeks, make oldconfig' no longer seems to update `.config.old'.
This also breaks the default behavior of scripts/diffconfig' (If no config files are specified, .config and .config.old are used.').
Was this change intentional?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Quoted 10 lines · Geert Uytterhoeven
Hi,I have the habit of doing
make .config{.old,}' after each config run, to see what was changed. But since a few weeks,make oldconfig' no longer seems to update `.config.old'.This also breaks the default behavior of
scripts/diffconfig' (If no config files are specified, .config and .config.old are used.').Was this change intentional?
.config is with current kconfig updated only if a user visible symbol changes (or something like that).
I had another similar report where .config was not created if missing and confi was not changed.
Fix is below and I will commit it soon.
Sam
scripts/kconfig/conf.c +1 -1
@@ -596,7 +596,7 @@ int main(int ac, char **av)break ; } -if (conf_get_changed () &&conf_write (NULL )) { +if (conf_write (NULL )) {fprintf (stderr,_ ("\n*** Error during writing of the kernel configuration.\n\n" ));exit (1 ); }
Quoted 8 lines · Sam Ravnborg
Quoted 7 lines · Geert Uytterhoeven
I have the habit of doing
make .config{.old,}' after each config run, to see what was changed. But since a few weeks,make oldconfig' no longer seems to update `.config.old'.This also breaks the default behavior of
scripts/diffconfig' (If no config files are specified, .config and .config.old are used.').
Quoted 8 lines
Quoted 1 line
Was this change intentional?
.config is with current kconfig updated only if a user visible symbol changes (or something like that).
I had another similar report where .config was not created if missing and confi was not changed.Fix is below and I will commit it soon.
Thanks! Problem solved.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds