config BR2_PACKAGE_LIBGUDEV
	bool "libgudev"
	depends on BR2_PACKAGE_HAS_UDEV
	depends on BR2_USE_WCHAR # gettext
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_USE_MMU # fork()
	select BR2_PACKAGE_LIBGLIB2
	help
	  This library provides GObject bindings for libudev.  It was
	  originally part of udev-extras, then udev, then systemd.
	  It's now a project on its own. Required for building some
	  programs that use udev, when using systemd.

	  https://wiki.gnome.org/Projects/libgudev

comment "libgudev needs udev /dev handling and a toolchain w/ wchar, threads"
	depends on BR2_USE_MMU
	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
		!BR2_PACKAGE_HAS_UDEV
