diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-25 19:00:39 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-25 19:00:39 +0000 |
| commit | b140eddc415742d9ae5a4dc6b310fa59ea38cd19 (patch) | |
| tree | bde3c022381fb9c4c84715f33c41b41246424ffa /scripts | |
| parent | 2c84495184c6d3de84f1b591ccb49c700273e0f5 (diff) | |
| download | busybox-w32-b140eddc415742d9ae5a4dc6b310fa59ea38cd19.tar.gz busybox-w32-b140eddc415742d9ae5a4dc6b310fa59ea38cd19.tar.bz2 busybox-w32-b140eddc415742d9ae5a4dc6b310fa59ea38cd19.zip | |
fix KCONFIG_NOTIMESTAMP=1 mode (just learned that we have such thing)
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/kconfig/confdata.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) | |||
| 404 | if (ret == 0) | 404 | if (ret == 0) |
| 405 | strftime(buf, sizeof(buf), "#define AUTOCONF_TIMESTAMP " | 405 | strftime(buf, sizeof(buf), "#define AUTOCONF_TIMESTAMP " |
| 406 | "\"%Y-%m-%d %H:%M:%S\"\n", localtime(&now)); | 406 | "\"%Y-%m-%d %H:%M:%S\"\n", localtime(&now)); |
| 407 | } else { /* bbox */ | ||
| 408 | strcpy(buf, "#define AUTOCONF_TIMESTAMP \"\"\n"); | ||
| 407 | } | 409 | } |
| 408 | fprintf(out_h, "/*\n" | 410 | fprintf(out_h, "/*\n" |
| 409 | " * Automatically generated C config: don't edit\n" | 411 | " * Automatically generated C config: don't edit\n" |
