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