menuconfig MY_SYSMODE_TEST #生成一个菜单宏项
bool "MY_SYSMODE_TEST"
default y
config MY_SYSMODE1
bool "my sysmode is bool"
default y
depends on MY_SYSMODE_TEST
config MY_SYSMODE2
tristate "my sysmode2 is tristate"
default m
depends on MY_SYSMODE_TEST
config MY_SYSMODE3
string "my sysmode3 is string"
default "test sysmode3"
depends on MY_SYSMODE2 && MY_SYSMODE_TEST
config MY_SYSMODE4
hex "my sysmode4 is hex"
range 0 0x2000 #设置hex区间
default 0x1234
depends on MY_SYSMODE2 && MY_SYSMODE_TEST
config MY_SYMBOL5
int "my sysmode5 is int"
range 0 2000 #设置int区间
default 1234
depends on MY_SYSMODE2 && MY_SYSMODE_TEST