Commit 3fe55b1a authored by Simon Dawson's avatar Simon Dawson Committed by Peter Korsgaard
Browse files

udev: disable on avr32



udev requires the epoll_create1 system call, which is not available on avr32.

Signed-off-by: default avatarSimon Dawson <spdawson@gmail.com>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 940ea284
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_NETWORK_MANAGER
	bool "NetworkManager"
	depends on !BR2_avr32 # udev
	depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
	select BR2_PACKAGE_DBUS
	depends on BR2_INET_IPV6
@@ -28,6 +29,7 @@ config BR2_PACKAGE_NETWORK_MANAGER
	  http://projects.gnome.org/NetworkManager/

comment "NetworkManager needs a toolchain w/ IPv6, largefile, wchar, threads"
	depends on !BR2_avr32
	depends on BR2_USE_MMU
	depends on !BR2_INET_IPV6 || !BR2_LARGEFILE || !BR2_USE_WCHAR || \
		!BR2_TOOLCHAIN_HAS_THREADS
+2 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_UDEV
	bool "udev"
	depends on !BR2_avr32 # no epoll_create1
	depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
	depends on BR2_LARGEFILE # util-linux
	depends on BR2_USE_WCHAR # util-linux
@@ -40,4 +41,5 @@ comment "enabling all extras needs a toolchain w/ wchar, threads"
endif

comment "udev requires /dev mgmnt set to udev under System configuration"
	depends on !BR2_avr32
	depends on !BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
+2 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_UDISKS
	bool "udisks"
	depends on !BR2_avr32 # udev
	depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus-glib -> glib2
	depends on BR2_USE_MMU # lvm2
@@ -36,6 +37,7 @@ config BR2_PACKAGE_UDISKS_LVM2
endif

comment "udisks needs udev /dev management and a toolchain w/ wchar, threads"
	depends on !BR2_avr32
	depends on BR2_USE_MMU
	depends on !BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV || \
		!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+3 −0
Original line number Diff line number Diff line
@@ -116,15 +116,18 @@ config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV

config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
	bool "Dynamic using udev"
	depends on !BR2_avr32 # udev
	depends on BR2_LARGEFILE # udev
	depends on BR2_USE_WCHAR # udev
	depends on !BR2_PREFER_STATIC_LIB # udev -> kmod
	select BR2_PACKAGE_UDEV

comment "udev needs a toolchain w/ largefile, wchar"
	depends on !BR2_avr32 # udev
	depends on !(BR2_LARGEFILE && BR2_USE_WCHAR)

comment "udev doesn't work with 'prefer static libraries'"
	depends on !BR2_avr32 # udev
	depends on BR2_PREFER_STATIC_LIB

endchoice