Kconfig (752B)
1# SPDX-License-Identifier: GPL-2.0 2 3config MODULES 4 bool "Enable loadable module support" 5 modules 6 default y 7 8choice 9 prompt "boolean choice" 10 default BOOL_CHOICE1 11 12config BOOL_CHOICE0 13 bool "choice 0" 14 15config BOOL_CHOICE1 16 bool "choice 1" 17 18endchoice 19 20choice 21 prompt "optional boolean choice" 22 optional 23 default OPT_BOOL_CHOICE1 24 25config OPT_BOOL_CHOICE0 26 bool "choice 0" 27 28config OPT_BOOL_CHOICE1 29 bool "choice 1" 30 31endchoice 32 33choice 34 prompt "tristate choice" 35 default TRI_CHOICE1 36 37config TRI_CHOICE0 38 tristate "choice 0" 39 40config TRI_CHOICE1 41 tristate "choice 1" 42 43endchoice 44 45choice 46 prompt "optional tristate choice" 47 optional 48 default OPT_TRI_CHOICE1 49 50config OPT_TRI_CHOICE0 51 tristate "choice 0" 52 53config OPT_TRI_CHOICE1 54 tristate "choice 1" 55 56endchoice