initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
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
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 64b5ffbfccd5bdb15d925777979a4dbee1a957f9eaeb158dc76175267eddbdef upower-0.99.11.tar.xz
|
||||
sha256 c1753877db41d798d63369a825ad9225bbeb5e10a407be5fcd8de96182f1c50d COPYING
|
||||
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#
|
||||
# upower
|
||||
#
|
||||
################################################################################
|
||||
|
||||
UPOWER_VERSION = 0.99.11
|
||||
UPOWER_SOURCE = upower-$(UPOWER_VERSION).tar.xz
|
||||
UPOWER_SITE = https://upower.freedesktop.org/releases
|
||||
UPOWER_LICENSE = GPL-2.0+
|
||||
UPOWER_LICENSE_FILES = COPYING
|
||||
|
||||
# libupower-glib.so
|
||||
UPOWER_INSTALL_STAGING = YES
|
||||
|
||||
UPOWER_DEPENDENCIES = \
|
||||
$(TARGET_NLS_DEPENDENCIES) \
|
||||
host-pkgconf \
|
||||
libgudev \
|
||||
libusb \
|
||||
udev
|
||||
|
||||
UPOWER_CONF_OPTS = --disable-man-pages --disable-tests
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user