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