xref: /linux/scripts/kconfig/tests/choice/Kconfig (revision f79e4d5f92a129a1159c973735007d4ddc8541f3)
1config MODULES
2	bool "Enable loadable module support"
3	option modules
4	default y
5
6choice
7	prompt "boolean choice"
8	default BOOL_CHOICE1
9
10config BOOL_CHOICE0
11	bool "choice 0"
12
13config BOOL_CHOICE1
14	bool "choice 1"
15
16endchoice
17
18choice
19	prompt "optional boolean choice"
20	optional
21	default OPT_BOOL_CHOICE1
22
23config OPT_BOOL_CHOICE0
24	bool "choice 0"
25
26config OPT_BOOL_CHOICE1
27	bool "choice 1"
28
29endchoice
30
31choice
32	prompt "tristate choice"
33	default TRI_CHOICE1
34
35config TRI_CHOICE0
36	tristate "choice 0"
37
38config TRI_CHOICE1
39	tristate "choice 1"
40
41endchoice
42
43choice
44	prompt "optional tristate choice"
45	optional
46	default OPT_TRI_CHOICE1
47
48config OPT_TRI_CHOICE0
49	tristate "choice 0"
50
51config OPT_TRI_CHOICE1
52	tristate "choice 1"
53
54endchoice
55