author | kergoth <kergoth> | 2003-01-16 18:04:11 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2003-01-16 18:04:11 (UTC) |
commit | 3904d85eac20dfd21cf2a3245977f9946865fd92 (patch) (unidiff) | |
tree | 8d5b2217c1b54a0c439815ec02db3f5235c99daa /scripts/kconfig/menu.c | |
parent | 0eec393ef2dd8b43db96c86e80e307f73a771fae (diff) | |
download | opie-3904d85eac20dfd21cf2a3245977f9946865fd92.zip opie-3904d85eac20dfd21cf2a3245977f9946865fd92.tar.gz opie-3904d85eac20dfd21cf2a3245977f9946865fd92.tar.bz2 |
Update LinuxKernelConf to 1.3, latest available.
-rw-r--r-- | scripts/kconfig/menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c index 4595110..24be0ec 100644 --- a/scripts/kconfig/menu.c +++ b/scripts/kconfig/menu.c | |||
@@ -281,25 +281,25 @@ struct file *file_lookup(const char *name) | |||
281 | file->name = strdup(name); | 281 | file->name = strdup(name); |
282 | file->next = file_list; | 282 | file->next = file_list; |
283 | file_list = file; | 283 | file_list = file; |
284 | return file; | 284 | return file; |
285 | } | 285 | } |
286 | 286 | ||
287 | int file_write_dep(const char *name) | 287 | int file_write_dep(const char *name) |
288 | { | 288 | { |
289 | struct file *file; | 289 | struct file *file; |
290 | FILE *out; | 290 | FILE *out; |
291 | 291 | ||
292 | if (!name) | 292 | if (!name) |
293 | name = "..config.cmd"; | 293 | name = ".config.cmd"; |
294 | out = fopen("..config.tmp", "w"); | 294 | out = fopen("..config.tmp", "w"); |
295 | if (!out) | 295 | if (!out) |
296 | return 1; | 296 | return 1; |
297 | fprintf(out, "deps_config := \\\n"); | 297 | fprintf(out, "deps_config := \\\n"); |
298 | for (file = file_list; file; file = file->next) { | 298 | for (file = file_list; file; file = file->next) { |
299 | if (file->next) | 299 | if (file->next) |
300 | fprintf(out, "\t%s \\\n", file->name); | 300 | fprintf(out, "\t%s \\\n", file->name); |
301 | else | 301 | else |
302 | fprintf(out, "\t%s\n", file->name); | 302 | fprintf(out, "\t%s\n", file->name); |
303 | } | 303 | } |
304 | fprintf(out, "\n.config include/linux/autoconf.h: $(deps_config)\n\n$(deps_config):\n"); | 304 | fprintf(out, "\n.config include/linux/autoconf.h: $(deps_config)\n\n$(deps_config):\n"); |
305 | fclose(out); | 305 | fclose(out); |