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