aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/config/util.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-14 00:48:54 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-14 00:48:54 +0000
commitc6c8367d1042f52daf54873aefd53b61b8b8b8ee (patch)
tree46e9dab113184c03210a71000b4cbed84bc94586 /scripts/config/util.c
parent75d681665a26ee9733542b8e5c32e9ba1bae4dcc (diff)
downloadupstream-c6c8367d1042f52daf54873aefd53b61b8b8b8ee.tar.gz
upstream-c6c8367d1042f52daf54873aefd53b61b8b8b8ee.tar.bz2
upstream-c6c8367d1042f52daf54873aefd53b61b8b8b8ee.zip
don't generate .tmpconfig.h and .kconfig.d
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5071 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/config/util.c')
-rw-r--r--scripts/config/util.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/scripts/config/util.c b/scripts/config/util.c
index 656d2c87d6..d4e934b34a 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)
{