mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-09-04 20:19:47 +08:00 
			
		
		
		
	 49ac3c0c3a
			
		
	
	
		49ac3c0c3a
		
	
	
	
	
		
			
			If a symbols has dependency on the preceding symbol, the menu entry should become the submenu of the preceding one, and displayed with deeper indentation. This is done by restructuring the menu tree in menu_finalize(). It is a bit complicated computation, so let's add a test case. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Ulf Magnusson <ulfalizer@gmail.com>
		
			
				
	
	
		
			11 lines
		
	
	
		
			228 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			228 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| A (A) [Y/n/?] (NEW) 
 | |
|   A0 (A0) [Y/n/?] (NEW) 
 | |
|     A1_0 (A0_0) [N/y/?] (NEW) 
 | |
|   A1 (A1) [Y/n/?] (NEW) 
 | |
|     choice
 | |
|     > 1. A1_0 (A1_0) (NEW)
 | |
|       2. A1_1 (A1_1) (NEW)
 | |
|     choice[1-2?]: 
 | |
| B (B) [N/y/?] (NEW) 
 | |
| C (C) [N/y/?] (NEW) 
 |