summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/tests/new_choice_with_dep/Kconfig
blob: 53ef1b86e7bf8ff01087ff9ea892ab600b6aeca2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
config A
	bool "A"
	help
	  This is a new symbol.

choice
	prompt "Choice ?"
	depends on A
	help
	  "depends on A" has been newly added.

config CHOICE_B
	bool "Choice B"

config CHOICE_C
	bool "Choice C"
	help
	  This is a new symbol, so should be asked.

endchoice

choice
	prompt "Choice2 ?"

config CHOICE_D
	bool "Choice D"

config CHOICE_E
	bool "Choice E"

config CHOICE_F
	bool "Choice F"
	depends on A
	help
	  This is a new symbol, so should be asked.

endchoice