summaryrefslogtreecommitdiff
path: root/extra/config/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'extra/config/util.c')
-rw-r--r--extra/config/util.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/extra/config/util.c b/extra/config/util.c
index 1fa4c0b80..e3f28b9d5 100644
--- a/extra/config/util.c
+++ b/extra/config/util.c
@@ -33,7 +33,7 @@ int file_write_dep(const char *name)
FILE *out;
if (!name)
- name = ".config.cmd";
+ name = ".kconfig.d";
out = fopen("..config.tmp", "w");
if (!out)
return 1;
@@ -44,7 +44,9 @@ int file_write_dep(const char *name)
else
fprintf(out, "\t%s\n", file->name);
}
- fprintf(out, "\n.config include/linux/autoconf.h: $(deps_config)\n\n$(deps_config):\n");
+ fprintf(out, "\ninclude/config/auto.conf: \\\n"
+ "\t$(deps_config)\n\n"
+ "$(deps_config): ;\n");
fclose(out);
rename("..config.tmp", name);
return 0;
@@ -101,7 +103,7 @@ void str_printf(struct gstr *gs, const char *fmt, ...)
va_end(ap);
}
-/* Retreive value of growable string */
+/* Retrieve value of growable string */
const char *str_get(struct gstr *gs)
{
return gs->s;