kconfig: Do not record timestamp in auto.conf and autoconf.h
authorMichal Marek <mmarek@suse.cz>
Tue, 28 Apr 2009 13:05:20 +0000 (15:05 +0200)
committerMichal Marek <mmarek@suse.cz>
Mon, 18 Apr 2011 12:20:38 +0000 (14:20 +0200)
Timestamps in file data are useless and there is already one in .config

Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/confdata.c

index 61c35bf2d9cb93d690a40eafb0227006bec46151..834eecb010bad0ae1828a9327e774191e186d138 100644 (file)
@@ -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();
@@ -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);