fix KCONFIG_NOTIMESTAMP=1 mode (just learned that we have such thing)
authorDenis Vlasenko <vda.linux@googlemail.com>
Fri, 25 Apr 2008 19:00:39 +0000 (19:00 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Fri, 25 Apr 2008 19:00:39 +0000 (19:00 -0000)
scripts/kconfig/confdata.c

index 4837f61d96bad3d480955e18e46e8e34b16019d9..e43c92edc32922e01fedda5dd3ce6349a96f8389 100644 (file)
@@ -404,6 +404,8 @@ int conf_write(const char *name)
                        if (ret == 0)
                                strftime(buf, sizeof(buf), "#define AUTOCONF_TIMESTAMP "
                                        "\"%Y-%m-%d %H:%M:%S\"\n", localtime(&now));
+               } else { /* bbox */
+                       strcpy(buf, "#define AUTOCONF_TIMESTAMP \"\"\n");
                }
                fprintf(out_h, "/*\n"
                               " * Automatically generated C config: don't edit\n"