Browse Source

add devtmpfs only for mdev/udev

Waldemar Brodkorb 10 years ago
parent
commit
43f376e1c0
2 changed files with 4 additions and 2 deletions
  1. 4 0
      target/config/Config.in.runtime
  2. 0 2
      target/linux/config/Config.in.kernel

+ 4 - 0
target/config/Config.in.runtime

@@ -12,10 +12,14 @@ prompt "System for /dev management"
 
 
 config ADK_RUNTIME_DEV_MDEV
 config ADK_RUNTIME_DEV_MDEV
 	bool "Use mdev"
 	bool "Use mdev"
+	select ADK_KERNEL_DEVTMPFS
+	select ADK_KERNEL_DEVTMPFS_MOUNT
 
 
 config ADK_RUNTIME_DEV_UDEV
 config ADK_RUNTIME_DEV_UDEV
 	bool "Use udev"
 	bool "Use udev"
 	select ADK_PACKAGE_UDEV
 	select ADK_PACKAGE_UDEV
+	select ADK_KERNEL_DEVTMPFS
+	select ADK_KERNEL_DEVTMPFS_MOUNT
 
 
 config ADK_RUNTIME_DEV_STATIC
 config ADK_RUNTIME_DEV_STATIC
 	bool "Use static /dev"
 	bool "Use static /dev"

+ 0 - 2
target/linux/config/Config.in.kernel

@@ -186,11 +186,9 @@ menu "Kernel options"
 
 
 config ADK_KERNEL_DEVTMPFS
 config ADK_KERNEL_DEVTMPFS
 	bool
 	bool
-	default y
 
 
 config ADK_KERNEL_DEVTMPFS_MOUNT
 config ADK_KERNEL_DEVTMPFS_MOUNT
 	bool
 	bool
-	default y
 
 
 config ADK_KERNEL_UEVENT_HELPER
 config ADK_KERNEL_UEVENT_HELPER
 	bool
 	bool