1 config BR2_PACKAGE_UPOWER
3 depends on BR2_PACKAGE_HAS_UDEV
4 depends on BR2_TOOLCHAIN_HAS_THREADS # libgudev, libusb
5 depends on BR2_USE_MMU # libgudev
6 depends on BR2_USE_WCHAR # libgudev
7 select BR2_PACKAGE_LIBGUDEV
8 select BR2_PACKAGE_LIBUSB
10 UPower is an abstraction for enumerating power devices, listening
11 to device events and querying history and statistics. Any
12 application or service on the system can access the
13 org.freedesktop.UPower service via the system message bus.
15 Note: upowerd require CONFIG_TIMER_STATS enabled in the Linux
18 https://upower.freedesktop.org/
20 comment "upower needs udev /dev management"
21 depends on BR2_USE_MMU
22 depends on !BR2_PACKAGE_HAS_UDEV
24 comment "upower needs a toolchain w/ threads, wchar"
25 depends on BR2_USE_MMU
26 depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS