diff options
| author | Anuj Mittal <anuj.mittal@oss.qualcomm.com> | 2026-02-19 16:59:42 +0530 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-02-20 23:34:21 -0800 |
| commit | 6b77c52b0a9f60f3af0e280da33db2faf4d00266 (patch) | |
| tree | cc4220e24b5d02db85ba41043dd2c9a2ae08f539 | |
| parent | 16fb872ad62dce12e73abf054c84596f8866d915 (diff) | |
| download | meta-openembedded-6b77c52b0a9f60f3af0e280da33db2faf4d00266.tar.gz | |
thermald: import from meta-intel
thermald now supports ARM platforms [1], so move it out of meta-intel
to allow broader reuse.
This version remains compatible only with x86 but a future recipe
upgrade should fix COMPATIBLE_MACHINE.
[1] thermal_daemon 1931a12e7e ("Add ARM backend and enable ARM platform detection")
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-bsp/thermald/thermald_2.5.10.bb | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/meta-oe/recipes-bsp/thermald/thermald_2.5.10.bb b/meta-oe/recipes-bsp/thermald/thermald_2.5.10.bb new file mode 100644 index 0000000000..6310602813 --- /dev/null +++ b/meta-oe/recipes-bsp/thermald/thermald_2.5.10.bb | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | SUMMARY = "Linux thermal daemon" | ||
| 2 | |||
| 3 | DESCRIPTION = "Thermal Daemon is a Linux daemon used to prevent the \ | ||
| 4 | overheating of platforms. This daemon monitors temperature and applies \ | ||
| 5 | compensation using available cooling methods." | ||
| 6 | |||
| 7 | HOMEPAGE = "https://github.com/01org/thermal_daemon" | ||
| 8 | |||
| 9 | DEPENDS = "dbus dbus-glib dbus-glib-native libxml2 glib-2.0 glib-2.0-native upower libevdev" | ||
| 10 | DEPENDS += "autoconf-archive-native" | ||
| 11 | |||
| 12 | LICENSE = "GPL-2.0-only" | ||
| 13 | LIC_FILES_CHKSUM = "file://COPYING;md5=ea8831610e926e2e469075b52bf08848" | ||
| 14 | |||
| 15 | SRC_URI = "git://github.com/intel/thermal_daemon/;branch=master;protocol=https \ | ||
| 16 | " | ||
| 17 | |||
| 18 | SRCREV = "88369b42ec523787081b9bf8811b364e2a3d5f2d" | ||
| 19 | |||
| 20 | inherit pkgconfig autotools systemd gtk-doc | ||
| 21 | |||
| 22 | # gtkdocsize runs before autotools do_configure and it copies gtk-doc.m4 and fails | ||
| 23 | # to copy becuase there is no m4 dir yet. | ||
| 24 | do_configure:prepend () { | ||
| 25 | mkdir -p ${S}/m4 | ||
| 26 | } | ||
| 27 | |||
| 28 | EXTRA_OECONF = " \ | ||
| 29 | --with-systemdsystemunitdir=${systemd_system_unitdir} \ | ||
| 30 | " | ||
| 31 | |||
| 32 | FILES:${PN} += "${datadir}/dbus-1" | ||
| 33 | |||
| 34 | SYSTEMD_SERVICE:${PN} = "thermald.service" | ||
| 35 | |||
| 36 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux' | ||
| 37 | |||
| 38 | CONFFILES:${PN} = " \ | ||
| 39 | ${sysconfdir}/thermald/thermal-conf.xml \ | ||
| 40 | ${sysconfdir}/thermald/thermal-cpu-cdev-order.xml \ | ||
| 41 | " | ||
| 42 | |||
| 43 | UPSTREAM_CHECK_URI = "https://github.com/01org/thermal_daemon/releases" | ||
