| 1 |
# For testing various minor APIs |
| 2 |
|
| 3 |
# optional choices |
| 4 |
|
| 5 |
choice NOT_OPTIONAL |
| 6 |
bool "not optional" |
| 7 |
config A |
| 8 |
bool "A" |
| 9 |
config B |
| 10 |
bool "B" |
| 11 |
endchoice |
| 12 |
|
| 13 |
choice OPTIONAL |
| 14 |
tristate "optional" |
| 15 |
optional |
| 16 |
config C |
| 17 |
tristate "C" |
| 18 |
config D |
| 19 |
tristate "D" |
| 20 |
# Quirky symbols - not proper choice symbol |
| 21 |
|
| 22 |
config Q1 |
| 23 |
tristate "Q1" |
| 24 |
depends on D |
| 25 |
|
| 26 |
config Q2 |
| 27 |
tristate "Q2" |
| 28 |
depends on Q1 |
| 29 |
|
| 30 |
config Q3 |
| 31 |
tristate "Q3" |
| 32 |
depends on D |
| 33 |
|
| 34 |
endchoice |
| 35 |
|
| 36 |
# User values |
| 37 |
|
| 38 |
config BOOL |
| 39 |
bool "bool" if NOT_DEFINED_1 |
| 40 |
|
| 41 |
config TRISTATE |
| 42 |
tristate # Visibility should not affect user value |
| 43 |
|
| 44 |
config STRING |
| 45 |
string "string" |
| 46 |
|
| 47 |
config INT |
| 48 |
int # Visibility should not affect user value |
| 49 |
|
| 50 |
config HEX |
| 51 |
hex "hex" |
| 52 |
depends on NOT_DEFINED_2 |
| 53 |
|
| 54 |
config COMMENT_HOOK |
| 55 |
comment "comment" |
| 56 |
|
| 57 |
config MENU_HOOK |
| 58 |
menu "menu" |
| 59 |
depends on NOT_DEFINED_3 || NOT_DEFINED_2 |
| 60 |
depends on !NOT_DEFINED_4 |
| 61 |
endmenu |
| 62 |
|
| 63 |
config FROM_ENV |
| 64 |
string "from env" |
| 65 |
option env="ENV_VAR" |
| 66 |
|
| 67 |
config FROM_ENV_MISSING |
| 68 |
string "from env missing" |
| 69 |
option env="MISSING_ENV_VAR" |
| 70 |
default "missing" |
| 71 |
|
| 72 |
config FROM_ENV_WEIRD |
| 73 |
string |
| 74 |
default "weird" |
| 75 |
option env="ENV_VAR" |
| 76 |
|
| 77 |
config NOT_ALLNOCONFIG_Y |
| 78 |
bool "not allnoconfig_y" |
| 79 |
|
| 80 |
config ALLNOCONFIG_Y |
| 81 |
bool "allnoconfig_y" |
| 82 |
option allnoconfig_y |