aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/confdata.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c
index 61c35bf2d9cb..834eecb010ba 100644
--- a/scripts/kconfig/confdata.c
+++ b/scripts/kconfig/confdata.c
@@ -784,7 +784,6 @@ int conf_write_autoconf(void)
784 const char *str; 784 const char *str;
785 const char *name; 785 const char *name;
786 FILE *out, *tristate, *out_h; 786 FILE *out, *tristate, *out_h;
787 time_t now;
788 int i; 787 int i;
789 788
790 sym_clear_all_valid(); 789 sym_clear_all_valid();
@@ -811,22 +810,19 @@ int conf_write_autoconf(void)
811 return 1; 810 return 1;
812 } 811 }
813 812
814 time(&now);
815 fprintf(out, "#\n" 813 fprintf(out, "#\n"
816 "# Automatically generated make config: don't edit\n" 814 "# Automatically generated make config: don't edit\n"
817 "# %s\n" 815 "# %s\n"
818 "# %s"
819 "#\n", 816 "#\n",
820 rootmenu.prompt->text, ctime(&now)); 817 rootmenu.prompt->text);
821 fprintf(tristate, "#\n" 818 fprintf(tristate, "#\n"
822 "# Automatically generated - do not edit\n" 819 "# Automatically generated - do not edit\n"
823 "\n"); 820 "\n");
824 fprintf(out_h, "/*\n" 821 fprintf(out_h, "/*\n"
825 " * Automatically generated C config: don't edit\n" 822 " * Automatically generated C config: don't edit\n"
826 " * %s\n" 823 " * %s\n"
827 " * %s"
828 " */\n", 824 " */\n",
829 rootmenu.prompt->text, ctime(&now)); 825 rootmenu.prompt->text);
830 826
831 for_all_symbols(i, sym) { 827 for_all_symbols(i, sym) {
832 sym_calc_value(sym); 828 sym_calc_value(sym);