kconfig: always write out .config
authorSam Ravnborg <sam@ravnborg.org>
Mon, 4 Aug 2008 20:18:07 +0000 (22:18 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 4 Aug 2008 20:18:07 +0000 (22:18 +0200)
Always write out .config also in the case where config
did not change.
This fixes: http://bugzilla.kernel.org/show_bug.cgi?id=11230

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Cc: Adrian Bunk <bunk@kernel.org>
scripts/kconfig/conf.c

index 9fba838..36b5eed 100644 (file)
@@ -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);
        }