[2.6 patch] allow KOBJECT_UEVENT=n only if EMBEDDED

From: Adrian Bunk
Date: Mon Dec 12 2005 - 20:58:23 EST


KOBJECT_UEVENT=n seems to be a common pitfall for udev users in 2.6.14 .

-mm already contains a bigger patch removing this option that is IMHO
too big for being applied now to 2.6.15-rc.

This patch simply allows KOBJECT_UEVENT=n only if EMBEDDED.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.15-rc5/init/Kconfig.old 2005-12-13 02:53:36.000000000 +0100
+++ linux-2.6.15-rc5/init/Kconfig 2005-12-13 02:54:26.000000000 +0100
@@ -206,7 +206,7 @@
outside the kernel tree does. Such modules require Y here.

config KOBJECT_UEVENT
- bool "Kernel Userspace Events"
+ bool "Kernel Userspace Events" if EMBEDDED
depends on NET
default y
help

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/