mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] samples: make SAMPLE_KOBJECT module-only
@ 2009-05-26 12:19 Michal Marek
  0 siblings, 0 replies; only message in thread
From: Michal Marek @ 2009-05-26 12:19 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: linux-kernel

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

Signed-off-by: Michal Marek <mmarek@suse.cz>
---
 samples/Kconfig |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/samples/Kconfig b/samples/Kconfig
index 4b02f5a..e00d2e1 100644
--- a/samples/Kconfig
+++ b/samples/Kconfig
@@ -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,
-- 
1.6.3

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-26 12:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-26 12:19 [PATCH] samples: make SAMPLE_KOBJECT module-only Michal Marek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®