blob: 0948b118859713ed9253b33563409e046bffc640 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
if UNDEFINED
endif
config NO_TYPE
config BASIC_NO_PROMPT
bool
help
blah blah
blah blah blah
blah
config BASIC_PROMPT
bool "basic"
config ADVANCED
tristate "prompt" if DEP
default DEFAULT_1
default DEFAULT_2 if DEP
select SELECTED_1
select SELECTED_2 if DEP
imply IMPLIED_1
imply IMPLIED_2 if DEP
help
first help text
config ADVANCED
prompt "prompt 2"
menuconfig ADVANCED
prompt "prompt 3"
depends on DEP2
if DEP3
menu "foo"
depends on DEP4
config ADVANCED
help
second help text
endmenu
endif
config ONLY_DIRECT_DEPS
int
depends on DEP1
depends on DEP2
config STRING
string
default "foo"
default "bar" if DEP
default STRING2
default STRING3 if DEP
config INT
int
range 1 2
range FOO BAR
range BAZ QAZ if DEP
config MODULES
bool "MODULES"
option modules
config OPTIONS
option allnoconfig_y
option defconfig_list
option env="ENV"
choice CHOICE
tristate "foo"
default CHOICE_1
default CHOICE_2 if dep
config CHOICE_1
tristate "choice 1"
config CHOICE_2
tristate "choice 2"
endchoice
choice
tristate "no name"
optional
endchoice
|