8a26801c9f
libusb depends on gcc >= 4.9 because of _Thread_local since version
1.0.24 and
9a1bc8cafb
Fixes:
- http://autobuild.buildroot.org/results/7b7f4b31095f8a7eecb347b574391003a2def8bc
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
30 lines
969 B
Plaintext
30 lines
969 B
Plaintext
config BR2_PACKAGE_UPOWER
|
|
bool "upower"
|
|
depends on BR2_PACKAGE_HAS_UDEV
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libgudev, libusb
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
|
depends on BR2_USE_MMU # libgudev
|
|
depends on BR2_USE_WCHAR # libgudev
|
|
select BR2_PACKAGE_LIBGUDEV
|
|
select BR2_PACKAGE_LIBUSB
|
|
help
|
|
UPower is an abstraction for enumerating power devices,
|
|
listening to device events and querying history and
|
|
statistics. Any application or service on the system can
|
|
access the org.freedesktop.UPower service via the system
|
|
message bus.
|
|
|
|
Note: upowerd require CONFIG_TIMER_STATS enabled in the
|
|
Linux kernel.
|
|
|
|
https://upower.freedesktop.org/
|
|
|
|
comment "upower needs udev /dev management"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_PACKAGE_HAS_UDEV
|
|
|
|
comment "upower needs a toolchain w/ threads, wchar, gcc >= 4.9"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|