From: Denis Vlasenko Date: Fri, 25 Apr 2008 19:00:39 +0000 (-0000) Subject: fix KCONFIG_NOTIMESTAMP=1 mode (just learned that we have such thing) X-Git-Tag: 1_11_0~286 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b140eddc415742d9ae5a4dc6b310fa59ea38cd19;p=oweals%2Fbusybox.git fix KCONFIG_NOTIMESTAMP=1 mode (just learned that we have such thing) --- diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c index 4837f61d9..e43c92edc 100644 --- a/scripts/kconfig/confdata.c +++ b/scripts/kconfig/confdata.c @@ -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"