xref: /linux/scripts/kconfig/tests/new_choice_with_dep/Kconfig (revision 37744feebc086908fd89760650f458ab19071750)
1# SPDX-License-Identifier: GPL-2.0
2
3config A
4	bool "A"
5	help
6	  This is a new symbol.
7
8choice
9	prompt "Choice ?"
10	depends on A
11	help
12	  "depends on A" has been newly added.
13
14config CHOICE_B
15	bool "Choice B"
16
17config CHOICE_C
18	bool "Choice C"
19	help
20	  This is a new symbol, so should be asked.
21
22endchoice
23
24choice
25	prompt "Choice2 ?"
26
27config CHOICE_D
28	bool "Choice D"
29
30config CHOICE_E
31	bool "Choice E"
32
33config CHOICE_F
34	bool "Choice F"
35	depends on A
36	help
37	  This is a new symbol, so should be asked.
38
39endchoice
40