Commit 1add7c59 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

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: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 1c1009d3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
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