summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-08-15 12:43:22 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-08-15 14:09:57 +0200
commit1add7c592bff56c5115997ab9b42e0fd9a5947ca (patch)
treed9578391c5b34fc59725c1ef581579b8d637431b
parent1c1009d38d20885e7543da7e9af45a8265051311 (diff)
udev: ensure /dev mgmt option is in sync
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>
-rw-r--r--package/udev/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/udev/Config.in b/package/udev/Config.in
index 67fd413d9..391c71810 100644
--- a/package/udev/Config.in
+++ b/package/udev/Config.in
@@ -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