aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/kbuild/kconfig.txt11
-rw-r--r--scripts/kconfig/expr.h2
-rw-r--r--scripts/kconfig/mconf.c60
-rw-r--r--scripts/kconfig/menu.c11
-rw-r--r--scripts/kconfig/qconf.cc5
-rw-r--r--scripts/kconfig/qconf.h1
-rw-r--r--scripts/kconfig/symbol.c2
-rw-r--r--scripts/kconfig/zconf.l1
8 files changed, 45 insertions, 48 deletions
diff --git a/Documentation/kbuild/kconfig.txt b/Documentation/kbuild/kconfig.txt
index 8ef6dbb6a462..bbc99c0c1094 100644
--- a/Documentation/kbuild/kconfig.txt
+++ b/Documentation/kbuild/kconfig.txt
@@ -20,16 +20,9 @@ symbols have been introduced.
20To see a list of new config symbols when using "make oldconfig", use 20To see a list of new config symbols when using "make oldconfig", use
21 21
22 cp user/some/old.config .config 22 cp user/some/old.config .config
23 yes "" | make oldconfig >conf.new 23 make listnewconfig
24 24
25and the config program will list as (NEW) any new symbols that have 25and the config program will list any new symbols, one per line.
26unknown values. Of course, the .config file is also updated with
27new (default) values, so you can use:
28
29 grep "(NEW)" conf.new
30
31to see the new config symbols or you can use diffconfig to see the
32differences between the previous and new .config files:
33 26
34 scripts/diffconfig .config.old .config | less 27 scripts/diffconfig .config.old .config | less
35 28
diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h
index df198a5f4822..ba663e1dc7e3 100644
--- a/scripts/kconfig/expr.h
+++ b/scripts/kconfig/expr.h
@@ -93,7 +93,7 @@ struct symbol {
93#define SYMBOL_CHOICEVAL 0x0020 /* used as a value in a choice block */ 93#define SYMBOL_CHOICEVAL 0x0020 /* used as a value in a choice block */
94#define SYMBOL_VALID 0x0080 /* set when symbol.curr is calculated */ 94#define SYMBOL_VALID 0x0080 /* set when symbol.curr is calculated */
95#define SYMBOL_OPTIONAL 0x0100 /* choice is optional - values can be 'n' */ 95#define SYMBOL_OPTIONAL 0x0100 /* choice is optional - values can be 'n' */
96#define SYMBOL_WRITE 0x0200 /* ? */ 96#define SYMBOL_WRITE 0x0200 /* write symbol to file (KCONFIG_CONFIG) */
97#define SYMBOL_CHANGED 0x0400 /* ? */ 97#define SYMBOL_CHANGED 0x0400 /* ? */
98#define SYMBOL_AUTO 0x1000 /* value from environment variable */ 98#define SYMBOL_AUTO 0x1000 /* value from environment variable */
99#define SYMBOL_CHECKED 0x2000 /* used during dependency checking */ 99#define SYMBOL_CHECKED 0x2000 /* used during dependency checking */
diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
index 2c3963165a0d..59184bb41ef8 100644
--- a/scripts/kconfig/mconf.c
+++ b/scripts/kconfig/mconf.c
@@ -25,7 +25,7 @@
25static const char mconf_readme[] = N_( 25static const char mconf_readme[] = N_(
26"Overview\n" 26"Overview\n"
27"--------\n" 27"--------\n"
28"This interface let you select features and parameters for the build.\n" 28"This interface lets you select features and parameters for the build.\n"
29"Features can either be built-in, modularized, or ignored. Parameters\n" 29"Features can either be built-in, modularized, or ignored. Parameters\n"
30"must be entered in as decimal or hexadecimal numbers or text.\n" 30"must be entered in as decimal or hexadecimal numbers or text.\n"
31"\n" 31"\n"
@@ -39,15 +39,15 @@ static const char mconf_readme[] = N_(
39"\n" 39"\n"
40"To change any of these features, highlight it with the cursor\n" 40"To change any of these features, highlight it with the cursor\n"
41"keys and press <Y> to build it in, <M> to make it a module or\n" 41"keys and press <Y> to build it in, <M> to make it a module or\n"
42"<N> to removed it. You may also press the <Space Bar> to cycle\n" 42"<N> to remove it. You may also press the <Space Bar> to cycle\n"
43"through the available options (ie. Y->N->M->Y).\n" 43"through the available options (i.e. Y->N->M->Y).\n"
44"\n" 44"\n"
45"Some additional keyboard hints:\n" 45"Some additional keyboard hints:\n"
46"\n" 46"\n"
47"Menus\n" 47"Menus\n"
48"----------\n" 48"----------\n"
49"o Use the Up/Down arrow keys (cursor keys) to highlight the item\n" 49"o Use the Up/Down arrow keys (cursor keys) to highlight the item you\n"
50" you wish to change or submenu wish to select and press <Enter>.\n" 50" wish to change or the submenu you wish to select and press <Enter>.\n"
51" Submenus are designated by \"--->\", empty ones by \"----\".\n" 51" Submenus are designated by \"--->\", empty ones by \"----\".\n"
52"\n" 52"\n"
53" Shortcut: Press the option's highlighted letter (hotkey).\n" 53" Shortcut: Press the option's highlighted letter (hotkey).\n"
@@ -65,7 +65,7 @@ static const char mconf_readme[] = N_(
65" there is a delayed response which you may find annoying.\n" 65" there is a delayed response which you may find annoying.\n"
66"\n" 66"\n"
67" Also, the <TAB> and cursor keys will cycle between <Select>,\n" 67" Also, the <TAB> and cursor keys will cycle between <Select>,\n"
68" <Exit> and <Help>.\n" 68" <Exit>, <Help>, <Save>, and <Load>.\n"
69"\n" 69"\n"
70"o To get help with an item, use the cursor keys to highlight <Help>\n" 70"o To get help with an item, use the cursor keys to highlight <Help>\n"
71" and press <ENTER>.\n" 71" and press <ENTER>.\n"
@@ -105,7 +105,7 @@ static const char mconf_readme[] = N_(
105"Text Box (Help Window)\n" 105"Text Box (Help Window)\n"
106"--------\n" 106"--------\n"
107"o Use the cursor keys to scroll up/down/left/right. The VI editor\n" 107"o Use the cursor keys to scroll up/down/left/right. The VI editor\n"
108" keys h,j,k,l function here as do <u>, <d>, <SPACE BAR> and <B> for \n" 108" keys h,j,k,l function here as do <u>, <d>, <SPACE BAR> and <B> for\n"
109" those who are familiar with less and lynx.\n" 109" those who are familiar with less and lynx.\n"
110"\n" 110"\n"
111"o Press <E>, <X>, <q>, <Enter> or <Esc><Esc> to exit.\n" 111"o Press <E>, <X>, <q>, <Enter> or <Esc><Esc> to exit.\n"
@@ -117,23 +117,21 @@ static const char mconf_readme[] = N_(
117"those who, for various reasons, find it necessary to switch\n" 117"those who, for various reasons, find it necessary to switch\n"
118"between different configurations.\n" 118"between different configurations.\n"
119"\n" 119"\n"
120"At the end of the main menu you will find two options. One is\n" 120"The <Save> button will let you save the current configuration to\n"
121"for saving the current configuration to a file of your choosing.\n" 121"a file of your choosing. Use the <Load> button to load a previously\n"
122"The other option is for loading a previously saved alternate\n" 122"saved alternate configuration.\n"
123"configuration.\n"
124"\n" 123"\n"
125"Even if you don't use alternate configuration files, but you\n" 124"Even if you don't use alternate configuration files, but you find\n"
126"find during a Menuconfig session that you have completely messed\n" 125"during a Menuconfig session that you have completely messed up your\n"
127"up your settings, you may use the \"Load Alternate...\" option to\n" 126"settings, you may use the <Load> button to restore your previously\n"
128"restore your previously saved settings from \".config\" without\n" 127"saved settings from \".config\" without restarting Menuconfig.\n"
129"restarting Menuconfig.\n"
130"\n" 128"\n"
131"Other information\n" 129"Other information\n"
132"-----------------\n" 130"-----------------\n"
133"If you use Menuconfig in an XTERM window make sure you have your\n" 131"If you use Menuconfig in an XTERM window, make sure you have your\n"
134"$TERM variable set to point to a xterm definition which supports color.\n" 132"$TERM variable set to point to an xterm definition which supports\n"
135"Otherwise, Menuconfig will look rather bad. Menuconfig will not\n" 133"color. Otherwise, Menuconfig will look rather bad. Menuconfig will\n"
136"display correctly in a RXVT window because rxvt displays only one\n" 134"not display correctly in an RXVT window because rxvt displays only one\n"
137"intensity of color, bright.\n" 135"intensity of color, bright.\n"
138"\n" 136"\n"
139"Menuconfig will display larger menus on screens or xterms which are\n" 137"Menuconfig will display larger menus on screens or xterms which are\n"
@@ -148,8 +146,8 @@ static const char mconf_readme[] = N_(
148"\n" 146"\n"
149"Optional personality available\n" 147"Optional personality available\n"
150"------------------------------\n" 148"------------------------------\n"
151"If you prefer to have all of the options listed in a single menu, rather\n" 149"If you prefer to have all of the options listed in a single menu,\n"
152"than the default multimenu hierarchy, run the menuconfig with\n" 150"rather than the default multimenu hierarchy, run the menuconfig with\n"
153"MENUCONFIG_MODE environment variable set to single_menu. Example:\n" 151"MENUCONFIG_MODE environment variable set to single_menu. Example:\n"
154"\n" 152"\n"
155"make MENUCONFIG_MODE=single_menu menuconfig\n" 153"make MENUCONFIG_MODE=single_menu menuconfig\n"
@@ -172,7 +170,7 @@ static const char mconf_readme[] = N_(
172" mono => selects colors suitable for monochrome displays\n" 170" mono => selects colors suitable for monochrome displays\n"
173" blackbg => selects a color scheme with black background\n" 171" blackbg => selects a color scheme with black background\n"
174" classic => theme with blue background. The classic look\n" 172" classic => theme with blue background. The classic look\n"
175" bluetitle => a LCD friendly version of classic. (default)\n" 173" bluetitle => an LCD friendly version of classic. (default)\n"
176"\n"), 174"\n"),
177menu_instructions[] = N_( 175menu_instructions[] = N_(
178 "Arrow keys navigate the menu. " 176 "Arrow keys navigate the menu. "
@@ -238,24 +236,24 @@ search_help[] = N_(
238 "Symbol: FOO [=m]\n" 236 "Symbol: FOO [=m]\n"
239 "Type : tristate\n" 237 "Type : tristate\n"
240 "Prompt: Foo bus is used to drive the bar HW\n" 238 "Prompt: Foo bus is used to drive the bar HW\n"
241 " Defined at drivers/pci/Kconfig:47\n"
242 " Depends on: X86_LOCAL_APIC && X86_IO_APIC || IA64\n"
243 " Location:\n" 239 " Location:\n"
244 " -> Bus options (PCI, PCMCIA, EISA, ISA)\n" 240 " -> Bus options (PCI, PCMCIA, EISA, ISA)\n"
245 " -> PCI support (PCI [=y])\n" 241 " -> PCI support (PCI [=y])\n"
246 "(1) -> PCI access mode (<choice> [=y])\n" 242 "(1) -> PCI access mode (<choice> [=y])\n"
243 " Defined at drivers/pci/Kconfig:47\n"
244 " Depends on: X86_LOCAL_APIC && X86_IO_APIC || IA64\n"
247 " Selects: LIBCRC32\n" 245 " Selects: LIBCRC32\n"
248 " Selected by: BAR\n" 246 " Selected by: BAR [=n]\n"
249 "-----------------------------------------------------------------\n" 247 "-----------------------------------------------------------------\n"
250 "o The line 'Type:' shows the type of the configuration option for\n" 248 "o The line 'Type:' shows the type of the configuration option for\n"
251 " this symbol (boolean, tristate, string, ...)\n" 249 " this symbol (boolean, tristate, string, ...)\n"