git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
scripts
/
kconfig
/
util.c
diff --git
a/scripts/kconfig/util.c
b/scripts/kconfig/util.c
index
1fa4c0b
..
e3f28b9
100644
(file)
--- a/
scripts/kconfig/util.c
+++ b/
scripts/kconfig/util.c
@@
-33,7
+33,7
@@
int file_write_dep(const char *name)
FILE *out;
if (!name)
FILE *out;
if (!name)
- name = ".
config.cm
d";
+ name = ".
kconfig.
d";
out = fopen("..config.tmp", "w");
if (!out)
return 1;
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);
}
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;
fclose(out);
rename("..config.tmp", name);
return 0;
@@
-101,7
+103,7
@@
void str_printf(struct gstr *gs, const char *fmt, ...)
va_end(ap);
}
va_end(ap);
}
-/* Retr
ei
ve value of growable string */
+/* Retr
ie
ve value of growable string */
const char *str_get(struct gstr *gs)
{
return gs->s;
const char *str_get(struct gstr *gs)
{
return gs->s;