xref: /OK3568_Linux_fs/buildroot/package/upower/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_UPOWER
2	bool "upower"
3	depends on BR2_PACKAGE_HAS_UDEV
4	depends on BR2_TOOLCHAIN_HAS_THREADS # libgudev, libusb
5	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
6	depends on BR2_USE_MMU # libgudev
7	depends on BR2_USE_WCHAR # libgudev
8	select BR2_PACKAGE_LIBGUDEV
9	select BR2_PACKAGE_LIBUSB
10	help
11	  UPower is an abstraction for enumerating power devices,
12	  listening to device events and querying history and
13	  statistics. Any application or service on the system can
14	  access the org.freedesktop.UPower service via the system
15	  message bus.
16
17	  Note: upowerd require CONFIG_TIMER_STATS enabled in the
18	  Linux kernel.
19
20	  https://upower.freedesktop.org/
21
22comment "upower needs udev /dev management"
23	depends on BR2_USE_MMU
24	depends on !BR2_PACKAGE_HAS_UDEV
25
26comment "upower needs a toolchain w/ threads, wchar, gcc >= 4.9"
27	depends on BR2_USE_MMU
28	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
29		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
30