mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-03 18:20:25 +02:00 
			
		
		
		
	kconfig: remove support for "bool" prompt for choice entries
Since commit fde192511b ("kconfig: remove tristate choice support"),
all choice blocks are now boolean. There is no longer a need to specify
the choice type explicitly.
All "bool" prompts in choice entries have been converted to "prompt".
This commit removes support for the "bool" syntax in choice entries.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
			
			
This commit is contained in:
		
							parent
							
								
									b95d0899c8
								
							
						
					
					
						commit
						bea2c5ef78
					
				
					 2 changed files with 2 additions and 8 deletions
				
			
		| 
						 | 
					@ -412,8 +412,8 @@ choices::
 | 
				
			||||||
	<choice block>
 | 
						<choice block>
 | 
				
			||||||
	"endchoice"
 | 
						"endchoice"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
This defines a choice group and accepts any of the above attributes as
 | 
					This defines a choice group and accepts "prompt", "default", "depends on", and
 | 
				
			||||||
options.
 | 
					"help" attributes as options.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
A choice only allows a single config entry to be selected.
 | 
					A choice only allows a single config entry to be selected.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -293,12 +293,6 @@ choice_option: T_PROMPT T_WORD_QUOTE if_expr T_EOL
 | 
				
			||||||
	printd(DEBUG_PARSE, "%s:%d:prompt\n", cur_filename, cur_lineno);
 | 
						printd(DEBUG_PARSE, "%s:%d:prompt\n", cur_filename, cur_lineno);
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
choice_option: T_BOOL T_WORD_QUOTE if_expr T_EOL
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
	menu_add_prompt(P_PROMPT, $2, $3);
 | 
					 | 
				
			||||||
	printd(DEBUG_PARSE, "%s:%d:bool\n", cur_filename, cur_lineno);
 | 
					 | 
				
			||||||
};
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
choice_option: T_DEFAULT nonconst_symbol if_expr T_EOL
 | 
					choice_option: T_DEFAULT nonconst_symbol if_expr T_EOL
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	menu_add_symbol(P_DEFAULT, $2, $3);
 | 
						menu_add_symbol(P_DEFAULT, $2, $3);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue