xref: /OK3568_Linux_fs/buildroot/package/eudev/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_EUDEV
2	bool "eudev"
3	depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV
4	depends on BR2_USE_MMU # uses fork()
5	depends on BR2_USE_WCHAR # needs C99 compiler
6	depends on !BR2_STATIC_LIBS # kmod
7	select BR2_PACKAGE_HAS_UDEV
8	select BR2_PACKAGE_UDEV_GENTOO_SCRIPTS if BR2_INIT_OPENRC
9	select BR2_PACKAGE_UTIL_LINUX
10	select BR2_PACKAGE_UTIL_LINUX_LIBS
11	select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
12	select BR2_PACKAGE_KMOD
13	help
14	  eudev is a fork of systemd-udev with the goal of obtaining
15	  better compatibility with existing software such as OpenRC and
16	  Upstart, older kernels, various toolchains and anything else
17	  required by users and various distributions.
18
19	  https://wiki.gentoo.org/wiki/Project:Eudev
20
21if BR2_PACKAGE_EUDEV
22
23config BR2_PACKAGE_PROVIDES_UDEV
24	default "eudev"
25
26config BR2_PACKAGE_EUDEV_RULES_GEN
27	bool "enable rules generator"
28	help
29	  Enable persistent rules generator
30
31config BR2_PACKAGE_EUDEV_ENABLE_HWDB
32	bool "enable hwdb installation"
33	default y
34	select BR2_PACKAGE_HOST_EUDEV # for udevadm, during target-finalize
35	help
36	  Enables hardware database installation to /etc/udev/hwdb.bin
37
38endif
39
40comment "eudev needs eudev /dev management"
41	depends on BR2_USE_MMU
42	depends on !BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV
43
44comment "eudev needs a toolchain w/ wchar, dynamic library"
45	depends on BR2_USE_MMU
46	depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS
47