summaryrefslogtreecommitdiff
path: root/extra/config/util.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-02-14 08:21:06 +0000
committerMike Frysinger <vapier@gentoo.org>2007-02-14 08:21:06 +0000
commit43a95b8896b0d271de3bbb28cc18810f39b2e15b (patch)
treed5a2c3215fb3de4cefaedb54b7d607cf0a951595 /extra/config/util.c
parent38d85080f672b7f1815e81e6f10b4d4e1e2d45aa (diff)
pull latest kconfig from kernel
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;