summaryrefslogtreecommitdiff
path: root/samples/Kconfig
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2010-10-25 10:14:05 -0500
committerJason Wessel <jason.wessel@windriver.com>2010-10-29 13:14:39 -0500
commit4aad8f51d0672f1c95e2cf0e1bc7b9ab42d8e1ea (patch)
tree51dc43c1b455cb6e166642051f64c80c7dd1d0b5 /samples/Kconfig
parent12ba8d1e9262ce81a695795410bd9ee5c9407ba1 (diff)
kdb: Add kdb kernel module sample
Add an example of how to add a dynamic kdb shell command via a kernel module. Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'samples/Kconfig')
-rw-r--r--samples/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/samples/Kconfig b/samples/Kconfig
index 954a1d550c5f..e03cf0e374d7 100644
--- a/samples/Kconfig
+++ b/samples/Kconfig
@@ -54,4 +54,11 @@ config SAMPLE_KFIFO
If in doubt, say "N" here.
+config SAMPLE_KDB
+ tristate "Build kdb command exmaple -- loadable modules only"
+ depends on KGDB_KDB && m
+ help
+ Build an example of how to dynamically add the hello
+ command to the kdb shell.
+
endif # SAMPLES