]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
udev: ensure /dev mgmt option is in sync
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 15 Aug 2011 10:43:22 +0000 (12:43 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 15 Aug 2011 12:09:57 +0000 (14:09 +0200)
These options should be in sync, both for consistency and because udev
needs devtmpfs enabled in the kernel.

We unfortunately cannot just select BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
here, as that one selects udev - leading to recursion erors, so instead
we use depends on.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/udev/Config.in

index 67fd413d99e91142f6769f38eaff03405344f8f7..391c71810bd6d57bf86d0a9f036af718f3330538 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_UDEV
        bool "udev"
+       depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
        help
          Userspace device daemon.
 
@@ -25,3 +26,6 @@ comment "udev extras requires a toolchain with LARGEFILE + WCHAR support"
        depends on !(BR2_LARGEFILE && BR2_USE_WCHAR)
 
 endif
+
+comment "udev requires /dev mgmnt set to udev under System configuration"
+       depends on !BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV