summaryrefslogtreecommitdiff
path: root/package/config/confdata.c
diff options
context:
space:
mode:
Diffstat (limited to 'package/config/confdata.c')
-rw-r--r--package/config/confdata.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/config/confdata.c b/package/config/confdata.c
index ba1f8a7ed..5cfb6d23a 100644
--- a/package/config/confdata.c
+++ b/package/config/confdata.c
@@ -586,8 +586,10 @@ int conf_write(const char *name)
fprintf(out, _("#\n"
"# Automatically generated make config: don't edit\n"
+ "# Buildroot version: %s\n"
"%s%s"
"#\n"),
+ sym_get_string_value(sym),
use_timestamp ? "# " : "",
use_timestamp ? ctime(&now) : "");
@@ -831,8 +833,10 @@ int conf_write_autoconf(void)
time(&now);
fprintf(out, "#\n"
"# Automatically generated make config: don't edit\n"
+ "# Buildroot version: %s\n"
"# %s"
"#\n",
+ sym_get_string_value(sym),
ctime(&now));
fprintf(tristate, "#\n"
"# Automatically generated - do not edit\n"