Skip to contentSkip to conversation

samples: make SAMPLE_KOBJECT module-only

PATCH New Michal Marek 1 participant 1 message May 26, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 samples: make SAMPLE_KOBJECT module-only

With SAMPLE_KOBJECT=y, it isn't even linked into the kernel image.

---
 samples/Kconfig |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
samples/Kconfig +2 -1
index 4b02f5a..e00d2e1 100644
@@ -20,7 +20,8 @@ config SAMPLE_TRACEPOINTS
 	  This build tracepoints example modules.
 
 config SAMPLE_KOBJECT
-	tristate "Build kobject examples"
+	tristate "Build kobject examples -- loadable modules only"
+	depends on m
 	help
 	  This config option will allow you to build a number of
 	  different kobject sample modules showing how to use kobjects,
Signature · 1 line
1.6.3