1 diff -Nurp linux-2.6.22.noarch.orig/scripts/kconfig/conf.c linux-2.6.22.noarch/scripts/kconfig/conf.c
2 --- linux-2.6.22.noarch.orig/scripts/kconfig/conf.c 2007-10-11 20:51:33.000000000 +0200
3 +++ linux-2.6.22.noarch/scripts/kconfig/conf.c 2007-10-11 20:56:30.000000000 +0200
4 @@ -21,6 +21,8 @@ enum {
13 @@ -37,6 +39,8 @@ static struct menu *rootEntry;
15 static char nohelp_text[] = N_("Sorry, no help available for this option yet.\n");
17 +static int return_value = 0;
19 static void strip(char *str)
22 @@ -103,6 +107,13 @@ static int conf_askvalue(struct symbol *
24 fgets(line, 128, stdin);
27 + if (!sym_has_value(sym)) {
28 + fprintf(stderr, "CONFIG_%s\n", sym->name);
31 + case dont_ask_dont_tell:
36 @@ -349,6 +360,11 @@ static int conf_choice(struct menu *menu
41 + case dont_ask_dont_tell:
43 + printf("%d\n", cnt);
48 @@ -485,6 +501,10 @@ static void check_conf(struct menu *menu
50 printf(_("*\n* Restart config...\n*\n"));
51 rootEntry = menu_get_parent_menu(menu);
52 + if (input_mode == dont_ask
53 + || input_mode == dont_ask_dont_tell)
54 + fprintf(stderr,"CONFIG_%s\n",sym->name);
59 @@ -504,6 +524,12 @@ int main(int ac, char **av)
64 + input_mode = dont_ask;
67 + input_mode = dont_ask_dont_tell;
70 input_mode = ask_silent;
71 valid_stdin = isatty(0) && isatty(1) && isatty(2);
72 @@ -570,6 +596,8 @@ int main(int ac, char **av)
77 + case dont_ask_dont_tell:
81 @@ -616,7 +644,8 @@ int main(int ac, char **av)
84 check_conf(&rootmenu);
86 + } while (conf_cnt && (input_mode != dont_ask
87 + && input_mode != dont_ask_dont_tell));
88 if (conf_write(NULL)) {
89 fprintf(stderr, _("\n*** Error during writing of the kernel configuration.\n\n"));
91 @@ -627,5 +656,5 @@ skip_check:
96 + return return_value;
98 diff -Nurp linux-2.6.22.noarch.orig/scripts/kconfig/Makefile linux-2.6.22.noarch/scripts/kconfig/Makefile
99 --- linux-2.6.22.noarch.orig/scripts/kconfig/Makefile 2007-07-09 01:32:17.000000000 +0200
100 +++ linux-2.6.22.noarch/scripts/kconfig/Makefile 2007-10-11 20:52:11.000000000 +0200
101 @@ -22,6 +22,11 @@ oldconfig: $(obj)/conf
102 silentoldconfig: $(obj)/conf
103 $< -s arch/$(ARCH)/Kconfig
105 +nonint_oldconfig: $(obj)/conf
106 + $< -b arch/$(ARCH)/Kconfig
107 +loose_nonint_oldconfig: $(obj)/conf
108 + $< -B arch/$(ARCH)/Kconfig
110 update-po-config: $(obj)/kxgettext
111 xgettext --default-domain=linux \
112 --add-comments --keyword=_ --keyword=N_ \