diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-10-14 00:48:54 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-10-14 00:48:54 +0000 |
commit | 54fda00db6da1764b066874ac05c0246358ced0c (patch) | |
tree | dba07fc7bb63e92dd5ad3ed2e2228850749e22cc /scripts/config/util.c | |
parent | 0d9ddef0e843133bd0cebdbfe141486fee4a6db8 (diff) | |
download | mtk-20170518-54fda00db6da1764b066874ac05c0246358ced0c.zip mtk-20170518-54fda00db6da1764b066874ac05c0246358ced0c.tar.gz mtk-20170518-54fda00db6da1764b066874ac05c0246358ced0c.tar.bz2 |
don't generate .tmpconfig.h and .kconfig.d
SVN-Revision: 5071
Diffstat (limited to 'scripts/config/util.c')
-rw-r--r-- | scripts/config/util.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/scripts/config/util.c b/scripts/config/util.c index 656d2c8..d4e934b 100644 --- a/scripts/config/util.c +++ b/scripts/config/util.c @@ -26,31 +26,6 @@ struct file *file_lookup(const char *name) return file; } -/* write a dependency file as used by kbuild to track dependencies */ -int file_write_dep(const char *name) -{ - struct file *file; - FILE *out; - - if (!name) - name = ".kconfig.d"; - out = fopen("..config.tmp", "w"); - if (!out) - return 1; - fprintf(out, "deps_config := \\\n"); - for (file = file_list; file; file = file->next) { - if (file->next) - 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"); - fclose(out); - rename("..config.tmp", name); - return 0; -} - - /* Allocate initial growable sting */ struct gstr str_new(void) { |