Mathieu Desnoyers | 267c402 | 2007-10-18 23:41:07 -0700 | [diff] [blame] | 1 | # samples/Kconfig |
| 2 | |
| 3 | menuconfig SAMPLES |
| 4 | bool "Sample kernel code" |
| 5 | help |
| 6 | You can build and test sample kernel code here. |
| 7 | |
| 8 | if SAMPLES |
| 9 | |
Mathieu Desnoyers | 31155bc | 2007-10-18 23:41:08 -0700 | [diff] [blame] | 10 | config SAMPLE_MARKERS |
| 11 | tristate "Build markers examples -- loadable modules only" |
| 12 | depends on MARKERS && m |
| 13 | help |
| 14 | This build markers example modules. |
Mathieu Desnoyers | 267c402 | 2007-10-18 23:41:07 -0700 | [diff] [blame] | 15 | |
Greg Kroah-Hartman | 40efcb0 | 2007-11-27 11:28:26 -0800 | [diff] [blame] | 16 | config SAMPLE_KOBJECT |
| 17 | tristate "Build kobject examples" |
| 18 | help |
| 19 | This config option will allow you to build a number of |
| 20 | different kobject sample modules showing how to use kobjects, |
| 21 | ksets, and ktypes properly. |
| 22 | |
| 23 | If in doubt, say "N" here. |
| 24 | |
Ananth N Mavinakayanahalli | 804defe | 2008-03-04 14:28:38 -0800 | [diff] [blame^] | 25 | config SAMPLE_KPROBES |
| 26 | tristate "Build kprobes examples -- loadable modules only" |
| 27 | depends on KPROBES && m |
| 28 | help |
| 29 | This build several kprobes example modules. |
| 30 | |
| 31 | config SAMPLE_KRETPROBES |
| 32 | tristate "Build kretprobes example -- loadable modules only" |
| 33 | default m |
| 34 | depends on SAMPLE_KPROBES && KRETPROBES |
| 35 | |
Mathieu Desnoyers | 267c402 | 2007-10-18 23:41:07 -0700 | [diff] [blame] | 36 | endif # SAMPLES |
Greg Kroah-Hartman | 40efcb0 | 2007-11-27 11:28:26 -0800 | [diff] [blame] | 37 | |