HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //proc/1233/cwd/usr/src/linux-headers-5.15.0-89-generic/scripts/kconfig/tests/choice/Kconfig
# SPDX-License-Identifier: GPL-2.0

config MODULES
	bool "Enable loadable module support"
	modules
	default y

choice
	prompt "boolean choice"
	default BOOL_CHOICE1

config BOOL_CHOICE0
	bool "choice 0"

config BOOL_CHOICE1
	bool "choice 1"

endchoice

choice
	prompt "optional boolean choice"
	optional
	default OPT_BOOL_CHOICE1

config OPT_BOOL_CHOICE0
	bool "choice 0"

config OPT_BOOL_CHOICE1
	bool "choice 1"

endchoice

choice
	prompt "tristate choice"
	default TRI_CHOICE1

config TRI_CHOICE0
	tristate "choice 0"

config TRI_CHOICE1
	tristate "choice 1"

endchoice

choice
	prompt "optional tristate choice"
	optional
	default OPT_TRI_CHOICE1

config OPT_TRI_CHOICE0
	tristate "choice 0"

config OPT_TRI_CHOICE1
	tristate "choice 1"

endchoice