Kconfig 509 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # SPDX-License-Identifier: GPL-2.0
  2. config A
  3. bool "A"
  4. help
  5. This is a new symbol.
  6. choice
  7. prompt "Choice ?"
  8. depends on A
  9. help
  10. "depends on A" has been newly added.
  11. config CHOICE_B
  12. bool "Choice B"
  13. config CHOICE_C
  14. bool "Choice C"
  15. help
  16. This is a new symbol, so should be asked.
  17. endchoice
  18. choice
  19. prompt "Choice2 ?"
  20. config CHOICE_D
  21. bool "Choice D"
  22. config CHOICE_E
  23. bool "Choice E"
  24. config CHOICE_F
  25. bool "Choice F"
  26. depends on A
  27. help
  28. This is a new symbol, so should be asked.
  29. endchoice