summaryrefslogtreecommitdiff
path: root/tests/Kassignable
blob: e600a39adced4a6a9dbf5883ab4e138773ef6048 (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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
config MODULES
	bool "modules"
	option modules


# Things that should never be .assignable

if UNDEFINED && "const"
endif

config NO_PROMPT

config STRING
	string "string"

config INT
	int "int"

config HEX
	hex "hex"


# Non-selected symbols

config Y_VIS_BOOL
	bool "y-vis bool"

config M_VIS_BOOL
	bool "m-vis bool" if m

config N_VIS_BOOL
	bool "n-vis bool" if n

config Y_VIS_TRI
	tristate "y-vis tri"

config M_VIS_TRI
	tristate "m-vis tri" if m

config N_VIS_TRI
	tristate "n-vis tri" if n


# Symbols selected to y

config Y_SELECTOR
	def_tristate y

	select Y_SEL_Y_VIS_BOOL
	select Y_SEL_M_VIS_BOOL
	select Y_SEL_N_VIS_BOOL

	select Y_SEL_Y_VIS_TRI
	select Y_SEL_M_VIS_TRI
	select Y_SEL_N_VIS_TRI

config Y_SEL_Y_VIS_BOOL
	bool "y-sel y-vis bool"

config Y_SEL_M_VIS_BOOL
	bool "y-sel m-vis bool" if m

config Y_SEL_N_VIS_BOOL
	bool "y-sel n-vis bool" if n

config Y_SEL_Y_VIS_TRI
	tristate "y-sel y-vis tri"

config Y_SEL_M_VIS_TRI
	tristate "y-sel m-vis tri" if m

config Y_SEL_N_VIS_TRI
	tristate "y-sel n-vis tri" if n


# Symbols selected to m

config M_SELECTOR
	def_tristate m

	select M_SEL_Y_VIS_BOOL
	select M_SEL_M_VIS_BOOL
	select M_SEL_N_VIS_BOOL

	select M_SEL_Y_VIS_TRI
	select M_SEL_M_VIS_TRI
	select M_SEL_N_VIS_TRI

config M_SEL_Y_VIS_BOOL
	bool "m-sel y-vis bool"

config M_SEL_M_VIS_BOOL
	bool "m-sel m-vis bool" if m

config M_SEL_N_VIS_BOOL
	bool "m-sel n-vis bool" if n

config M_SEL_Y_VIS_TRI
	tristate "m-sel y-vis tri"

config M_SEL_M_VIS_TRI
	tristate "m-sel m-vis tri" if m

config M_SEL_N_VIS_TRI
	tristate "m-sel n-vis tri" if n


# Symbols implied to y

config Y_IMPLIER
	def_tristate y

	imply Y_IMP_Y_VIS_BOOL
	imply Y_IMP_M_VIS_BOOL
	imply Y_IMP_N_VIS_BOOL

	imply Y_IMP_Y_VIS_TRI
	imply Y_IMP_M_VIS_TRI
	imply Y_IMP_N_VIS_TRI

config Y_IMP_Y_VIS_BOOL
	bool "y-imp y-vis bool"

config Y_IMP_M_VIS_BOOL
	bool "y-imp m-vis bool" if m

config Y_IMP_N_VIS_BOOL
	bool "y-imp n-vis bool" if n

config Y_IMP_Y_VIS_TRI
	tristate "y-imp y-vis tri"

config Y_IMP_M_VIS_TRI
	tristate "y-imp m-vis tri" if m

config Y_IMP_N_VIS_TRI
	tristate "y-imp n-vis tri" if n


# Symbols implied to m (never affects assignable values)

config M_IMPLIER
	def_tristate m

	imply M_IMP_Y_VIS_BOOL
	imply M_IMP_M_VIS_BOOL
	imply M_IMP_N_VIS_BOOL

	imply M_IMP_Y_VIS_TRI
	imply M_IMP_M_VIS_TRI
	imply M_IMP_N_VIS_TRI

config M_IMP_Y_VIS_BOOL
	bool "m-imp y-vis bool"

config M_IMP_M_VIS_BOOL
	bool "m-imp m-vis bool" if m

config M_IMP_N_VIS_BOOL
	bool "m-imp n-vis bool" if n

config M_IMP_Y_VIS_TRI
	tristate "m-imp y-vis tri"

config M_IMP_M_VIS_TRI
	tristate "m-imp m-vis tri" if m

config M_IMP_N_VIS_TRI
	tristate "m-imp n-vis tri" if n