mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
@@ -2,22 +2,33 @@ config BR2_PACKAGE_THERMALD
|
||||
bool "thermald"
|
||||
depends on BR2_i386 || BR2_x86_64 # needs <cpuid.h>
|
||||
depends on BR2_USE_MMU # uses fork()
|
||||
depends on BR2_USE_WCHAR # upower -> libgudev
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus-glib -> glib2, dbus
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # upower -> libusb
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus-glib -> glib2, dbus, upower
|
||||
depends on BR2_USE_WCHAR # dbus-glib -> glib2
|
||||
depends on BR2_PACKAGE_HAS_UDEV # upower
|
||||
select BR2_PACKAGE_DBUS
|
||||
select BR2_PACKAGE_DBUS_GLIB
|
||||
select BR2_PACKAGE_LIBEVDEV
|
||||
select BR2_PACKAGE_LIBXML2
|
||||
select BR2_PACKAGE_UPOWER
|
||||
select BR2_PACKAGE_XZ
|
||||
help
|
||||
Thermal Daemon is a Linux daemon for monitoring and
|
||||
controlling platform temperatures. Once the system temperature
|
||||
reaches a certain threshold, the Linux daemon activates
|
||||
various cooling methods to try to cool the system.
|
||||
|
||||
https://01.org/linux-thermal-daemon
|
||||
https://github.com/intel/thermal_daemon
|
||||
|
||||
comment "thermald needs a toolchain w/ C++, wchar, threads"
|
||||
comment "thermald needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
|
||||
depends on BR2_i386 || BR2_x86_64
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_INSTALL_LIBSTDCPP
|
||||
!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
|
||||
comment "thermald needs udev /dev management"
|
||||
depends on BR2_i386 || BR2_x86_64
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_PACKAGE_HAS_UDEV
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 aaf5ffdc12344eef2417b41b433094bb30e4ebf321f0140b090f97bfcf24ea1f thermald-1.9.1.tar.gz
|
||||
sha256 3e5a5033339c021de41ed4f946dd39e13f79f722fb5bd98d798e83658184c39b thermald-2.4.8.tar.gz
|
||||
sha256 e98be8bc482e038a14bfbc01caf800bbd0024fff275ef14cd999db6560254a8d COPYING
|
||||
|
||||
@@ -4,16 +4,41 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
THERMALD_VERSION = 1.9.1
|
||||
THERMALD_VERSION = 2.4.8
|
||||
THERMALD_SITE = $(call github,intel,thermal_daemon,v$(THERMALD_VERSION))
|
||||
# fetched from Github, with no configure script
|
||||
THERMALD_AUTORECONF = YES
|
||||
THERMALD_DEPENDENCIES = dbus dbus-glib libxml2 $(TARGET_NLS_DEPENDENCIES)
|
||||
THERMALD_AUTORECONF_OPTS = --include=$(HOST_DIR)/share/autoconf-archive
|
||||
THERMALD_DEPENDENCIES = \
|
||||
$(TARGET_NLS_DEPENDENCIES) \
|
||||
host-autoconf-archive \
|
||||
dbus \
|
||||
dbus-glib \
|
||||
libevdev \
|
||||
libxml2 \
|
||||
upower \
|
||||
xz
|
||||
# tools are GPL-3.0+ but are not added to the target
|
||||
THERMALD_LICENSE = GPL-2.0+
|
||||
THERMALD_LICENSE_FILES = COPYING
|
||||
THERMALD_CPE_ID_VENDOR = intel
|
||||
THERMALD_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
|
||||
|
||||
# avoid this error when reconfiguring:
|
||||
# automake: error: cannot open < gtk-doc.make: No such file or directory
|
||||
define THERMALD_GTK_DOC_HOOK
|
||||
echo "CLEANFILES=" > $(@D)/gtk-doc.make
|
||||
endef
|
||||
THERMALD_PRE_CONFIGURE_HOOKS += THERMALD_GTK_DOC_HOOK
|
||||
|
||||
# Autoreconf is missing the m4/ directory, which might actually be missing
|
||||
# iff it was the first argument, but unfortunately we are overriding the
|
||||
# first include directory above. Thus we need that hook here.
|
||||
define THERMALD_CREATE_M4
|
||||
mkdir -p $(@D)/m4
|
||||
endef
|
||||
THERMALD_POST_PATCH_HOOKS += THERMALD_CREATE_M4
|
||||
|
||||
ifeq ($(BR2_INIT_SYSTEMD),y)
|
||||
THERMALD_DEPENDENCIES += systemd
|
||||
THERMALD_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system
|
||||
|
||||
Reference in New Issue
Block a user