Kconfig 855 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # samples/Kconfig
  2. menuconfig SAMPLES
  3. bool "Sample kernel code"
  4. help
  5. You can build and test sample kernel code here.
  6. if SAMPLES
  7. config SAMPLE_MARKERS
  8. tristate "Build markers examples -- loadable modules only"
  9. depends on MARKERS && m
  10. help
  11. This build markers example modules.
  12. config SAMPLE_KOBJECT
  13. tristate "Build kobject examples"
  14. help
  15. This config option will allow you to build a number of
  16. different kobject sample modules showing how to use kobjects,
  17. ksets, and ktypes properly.
  18. If in doubt, say "N" here.
  19. config SAMPLE_KPROBES
  20. tristate "Build kprobes examples -- loadable modules only"
  21. depends on KPROBES && m
  22. help
  23. This build several kprobes example modules.
  24. config SAMPLE_KRETPROBES
  25. tristate "Build kretprobes example -- loadable modules only"
  26. default m
  27. depends on SAMPLE_KPROBES && KRETPROBES
  28. endif # SAMPLES