fix KCONFIG_NOTIMESTAMP=1 mode (just learned that we have such thing)
This commit is contained in:
parent
2c84495184
commit
b140eddc41
@ -404,6 +404,8 @@ int conf_write(const char *name)
|
|||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
strftime(buf, sizeof(buf), "#define AUTOCONF_TIMESTAMP "
|
strftime(buf, sizeof(buf), "#define AUTOCONF_TIMESTAMP "
|
||||||
"\"%Y-%m-%d %H:%M:%S\"\n", localtime(&now));
|
"\"%Y-%m-%d %H:%M:%S\"\n", localtime(&now));
|
||||||
|
} else { /* bbox */
|
||||||
|
strcpy(buf, "#define AUTOCONF_TIMESTAMP \"\"\n");
|
||||||
}
|
}
|
||||||
fprintf(out_h, "/*\n"
|
fprintf(out_h, "/*\n"
|
||||||
" * Automatically generated C config: don't edit\n"
|
" * Automatically generated C config: don't edit\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user