Atlas - Kmisc
Home / ext / kconfiglib / tests Lines: 1 | Size: 1270 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)][FILE BEGIN]1# For testing various minor APIs 2 3# optional choices 4 5choice NOT_OPTIONAL 6 bool "not optional" 7config A 8 bool "A" 9config B 10 bool "B" 11endchoice 12 13choice OPTIONAL 14 tristate "optional" 15 optional 16config C 17 tristate "C" 18config D 19 tristate "D" 20# Quirky symbols - not proper choice symbol 21 22config Q1 23 tristate "Q1" 24 depends on D 25 26config Q2 27 tristate "Q2" 28 depends on Q1 29 30config Q3 31 tristate "Q3" 32 depends on D 33 34endchoice 35 36# User values 37 38config BOOL 39 bool "bool" if NOT_DEFINED_1 40 41config TRISTATE 42 tristate # Visibility should not affect user value 43 44config STRING 45 string "string" 46 47config INT 48 int # Visibility should not affect user value 49 50config HEX 51 hex "hex" 52 depends on NOT_DEFINED_2 53 54config COMMENT_HOOK 55comment "comment" 56 57config MENU_HOOK 58menu "menu" 59 depends on NOT_DEFINED_3 || NOT_DEFINED_2 60 depends on !NOT_DEFINED_4 61endmenu 62 63config FROM_ENV 64 string "from env" 65 option env="ENV_VAR" 66 67config FROM_ENV_MISSING 68 string "from env missing" 69 option env="MISSING_ENV_VAR" 70 default "missing" 71 72config FROM_ENV_WEIRD 73 string 74 default "weird" 75 option env="ENV_VAR" 76 77config NOT_ALLNOCONFIG_Y 78 bool "not allnoconfig_y" 79 80config ALLNOCONFIG_Y 81 bool "allnoconfig_y" 82 option allnoconfig_y 83[FILE END](C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.