summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko2008-04-25 19:00:39 +0000
committerDenis Vlasenko2008-04-25 19:00:39 +0000
commitb140eddc415742d9ae5a4dc6b310fa59ea38cd19 (patch)
treebde3c022381fb9c4c84715f33c41b41246424ffa
parent2c84495184c6d3de84f1b591ccb49c700273e0f5 (diff)
downloadbusybox-b140eddc415742d9ae5a4dc6b310fa59ea38cd19.zip
busybox-b140eddc415742d9ae5a4dc6b310fa59ea38cd19.tar.gz
fix KCONFIG_NOTIMESTAMP=1 mode (just learned that we have such thing)
-rw-r--r--scripts/kconfig/confdata.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c
index 4837f61..e43c92e 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"