Skip to content

Commit

Permalink
kconfig: Do not record timestamp in auto.conf and autoconf.h
Browse files Browse the repository at this point in the history
Timestamps in file data are useless and there is already one in .config

Signed-off-by: Michal Marek <mmarek@suse.cz>
  • Loading branch information
Michal Marek committed Apr 18, 2011
1 parent 2b2112f commit c33724a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions scripts/kconfig/confdata.c
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,6 @@ int conf_write_autoconf(void)
const char *str;
const char *name;
FILE *out, *tristate, *out_h;
time_t now;
int i;

sym_clear_all_valid();
Expand All @@ -811,22 +810,19 @@ int conf_write_autoconf(void)
return 1;
}

time(&now);
fprintf(out, "#\n"
"# Automatically generated make config: don't edit\n"
"# %s\n"
"# %s"
"#\n",
rootmenu.prompt->text, ctime(&now));
rootmenu.prompt->text);
fprintf(tristate, "#\n"
"# Automatically generated - do not edit\n"
"\n");
fprintf(out_h, "/*\n"
" * Automatically generated C config: don't edit\n"
" * %s\n"
" * %s"
" */\n",
rootmenu.prompt->text, ctime(&now));
rootmenu.prompt->text);

for_all_symbols(i, sym) {
sym_calc_value(sym);
Expand Down

0 comments on commit c33724a

Please sign in to comment.