diff --git a/samples/Kconfig b/samples/Kconfig
index b75d28cba3f75fef74d90d01b2fb8990984a1c55..428b065ba6959791e4f7ab4c180a914c9e3ba917 100644
--- a/samples/Kconfig
+++ b/samples/Kconfig
@@ -26,7 +26,8 @@ config SAMPLE_TRACE_EVENTS
 	  This build trace event 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,