choice
prompt "choice"
config A
bool "A"
config B
bool "B"
if B
prompt "sub choice"
config C
bool "C"
config D
bool "D"
if D
prompt "subsub choice"
config E
bool "E"
endchoice
endif # D
endif # B