| 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | |
| 3 | # depends on itself |
| 4 | |
| 5 | config A |
| 6 | bool "A" |
| 7 | depends on A |
| 8 | |
| 9 | # select itself |
| 10 | |
| 11 | config B |
| 12 | bool |
| 13 | select B |
| 14 | |
| 15 | # depends on each other |
| 16 | |
| 17 | config C1 |
| 18 | bool "C1" |
| 19 | depends on C2 |
| 20 | |
| 21 | config C2 |
| 22 | bool "C2" |
| 23 | depends on C1 |
| 24 | |
| 25 | # depends on and select |
| 26 | |
| 27 | config D1 |
| 28 | bool "D1" |
| 29 | depends on D2 |
| 30 | select D2 |
| 31 | |
| 32 | config D2 |
| 33 | bool |
| 34 | |
| 35 | # depends on and imply |
| 36 | |
| 37 | config E1 |
| 38 | bool "E1" |
| 39 | depends on E2 |
| 40 | imply E2 |
| 41 | |
| 42 | config E2 |
| 43 | bool "E2" |
| 44 | |
| 45 | # property |
| 46 | |
| 47 | config F1 |
| 48 | bool "F1" |
| 49 | default F2 |
| 50 | |
| 51 | config F2 |
| 52 | bool "F2" |
| 53 | depends on F1 |
| 54 | |
| 55 | # menu |
| 56 | |
| 57 | menu "menu depending on its content" |
| 58 | depends on G |
| 59 | |
| 60 | config G |
| 61 | bool "G" |
| 62 | |
| 63 | endmenu |