* `make oldconfig' no longer updating `.config.old'?
@ 2008-08-04 7:02 Geert Uytterhoeven
2008-08-04 20:10 ` Sam Ravnborg
0 siblings, 1 reply; 3+ messages in thread
From: Geert Uytterhoeven @ 2008-08-04 7:02 UTC (permalink / raw)
To: linux-kbuild; +Cc: Linux Kernel Development, Tim Bird
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 -- geert@linux-m68k.org
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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: `make oldconfig' no longer updating `.config.old'?
2008-08-04 7:02 `make oldconfig' no longer updating `.config.old'? Geert Uytterhoeven
@ 2008-08-04 20:10 ` Sam Ravnborg
2008-08-05 7:31 ` Geert Uytterhoeven
0 siblings, 1 reply; 3+ messages in thread
From: Sam Ravnborg @ 2008-08-04 20:10 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: linux-kbuild, Linux Kernel Development, Tim Bird
On Mon, Aug 04, 2008 at 09:02:43AM +0200, Geert Uytterhoeven wrote:
> 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
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
index 9fba838..36b5eed 100644
--- a/scripts/kconfig/conf.c
+++ b/scripts/kconfig/conf.c
@@ -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);
}
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: `make oldconfig' no longer updating `.config.old'?
2008-08-04 20:10 ` Sam Ravnborg
@ 2008-08-05 7:31 ` Geert Uytterhoeven
0 siblings, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2008-08-05 7:31 UTC (permalink / raw)
To: Sam Ravnborg; +Cc: linux-kbuild, Linux Kernel Development, Tim Bird
On Mon, 4 Aug 2008, Sam Ravnborg wrote:
> On Mon, Aug 04, 2008 at 09:02:43AM +0200, Geert Uytterhoeven wrote:
> > 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.
Thanks! Problem solved.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-08-05 7:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-04 7:02 `make oldconfig' no longer updating `.config.old'? Geert Uytterhoeven
2008-08-04 20:10 ` Sam Ravnborg
2008-08-05 7:31 ` Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox