Diff of /trunk/mkinitrd-magellan/busybox/scripts/kconfig/util.c
Parent Directory | Revision Log | Patch
revision 983 by niro, Sat Sep 1 22:45:15 2007 UTC | revision 984 by niro, Sun May 30 11:32:42 2010 UTC | |
---|---|---|
# | Line 44 int file_write_dep(const char *name) | Line 44 int file_write_dep(const char *name) |
44 | else | else |
45 | fprintf(out, "\t%s\n", file->name); | fprintf(out, "\t%s\n", file->name); |
46 | } | } |
47 | fprintf(out, "\n.config include/autoconf.h: $(deps_config)\n\n$(deps_config):\n"); | fprintf(out, |
48 | "\n" | |
49 | ".config include/autoconf.h: $(deps_config)\n" | |
50 | "\n" | |
51 | "include/autoconf.h: .config\n" /* bbox */ | |
52 | "\n" | |
53 | "$(deps_config):\n"); | |
54 | fclose(out); | fclose(out); |
55 | rename("..config.tmp", name); | rename("..config.tmp", name); |
56 | return 0; | return 0; |
|