diff options
author | Michal Marek <mmarek@suse.cz> | 2009-04-28 09:05:20 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-04-18 08:20:38 -0400 |
commit | c33724a43875786719f51916311308f2752d846e (patch) | |
tree | 4ccd1bd75415ac73084387579728237afb108baa /scripts | |
parent | 2b2112f617e8ca600ec24271c93bbd49aa2acce4 (diff) |
kconfig: Do not record timestamp in auto.conf and autoconf.h
Timestamps in file data are useless and there is already one in .config
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/kconfig/confdata.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c index 61c35bf2d9c..834eecb010b 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); |