summaryrefslogtreecommitdiffstats
path: root/samples/Kconfig
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2010-10-25 17:14:05 +0200
committerJason Wessel <jason.wessel@windriver.com>2010-10-29 20:14:39 +0200
commit4aad8f51d0672f1c95e2cf0e1bc7b9ab42d8e1ea (patch)
tree51dc43c1b455cb6e166642051f64c80c7dd1d0b5 /samples/Kconfig
parentfix braino in fs: do not assign default i_ino in new_inode (diff)
downloadlinux-4aad8f51d0672f1c95e2cf0e1bc7b9ab42d8e1ea.tar.xz
linux-4aad8f51d0672f1c95e2cf0e1bc7b9ab42d8e1ea.zip
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