summaryrefslogtreecommitdiffstats
path: root/scripts/ptx-modifications/0002-conf-don-t-output-autoconf-stuff.patch
blob: 80cb31c8e58f8be2198bc2405e188276430bde88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
From: Michael Olbrich <m.olbrich@pengutronix.de>
Date: Mon, 1 Nov 2010 19:49:34 +0100
Subject: [PATCH] conf: don't output autoconf stuff

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
---
 scripts/kconfig/conf.c     | 2 ++
 scripts/kconfig/confdata.c | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
index 46c6e1bb5910..2fedd45e8312 100644
--- a/scripts/kconfig/conf.c
+++ b/scripts/kconfig/conf.c
@@ -731,10 +731,12 @@ int main(int ac, char **av)
 			fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n"));
 			exit(1);
 		}
+#if 0
 		if (conf_write_autoconf()) {
 			fprintf(stderr, _("\n*** Error during update of the configuration.\n\n"));
 			return 1;
 		}
+#endif
 	} else if (input_mode == savedefconfig) {
 		if (conf_write_defconfig(defconfig_file)) {
 			fprintf(stderr, _("n*** Error while saving defconfig to: %s\n\n"),
diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c
index dd243d2abd87..bf66522a6e4b 100644
--- a/scripts/kconfig/confdata.c
+++ b/scripts/kconfig/confdata.c
@@ -949,6 +949,7 @@ out:
 	return res;
 }
 
+#if 0
 int conf_write_autoconf(void)
 {
 	struct symbol *sym;
@@ -1022,6 +1023,7 @@ int conf_write_autoconf(void)
 
 	return 0;
 }
+#endif
 
 static int sym_change_count;
 static void (*conf_changed_callback)(void);