diff options
Diffstat (limited to 'recipes-bsp/thermald/thermald_1.9.bb')
| -rw-r--r-- | recipes-bsp/thermald/thermald_1.9.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes-bsp/thermald/thermald_1.9.bb b/recipes-bsp/thermald/thermald_1.9.bb new file mode 100644 index 00000000..4f3650fa --- /dev/null +++ b/recipes-bsp/thermald/thermald_1.9.bb | |||
| @@ -0,0 +1,35 @@ | |||
| 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" | ||
| 10 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}" | ||
| 11 | DEPENDS_append_libc-musl = " argp-standalone" | ||
| 12 | DEPENDS_append_toolchain-clang = " openmp" | ||
| 13 | LICENSE = "GPLv2" | ||
| 14 | LIC_FILES_CHKSUM = "file://COPYING;md5=ea8831610e926e2e469075b52bf08848" | ||
| 15 | |||
| 16 | SRC_URI = "git://github.com/intel/thermal_daemon/ \ | ||
| 17 | file://0001-Use-correct-format-specifier-for-size_t.patch \ | ||
| 18 | " | ||
| 19 | SRCREV = "7f573b681a25b5ffbe81103ba9fdcf7fec0f2884" | ||
| 20 | S = "${WORKDIR}/git" | ||
| 21 | |||
| 22 | inherit pkgconfig autotools systemd | ||
| 23 | |||
| 24 | FILES_${PN} += "${datadir}/dbus-1/system-services/*.service" | ||
| 25 | |||
| 26 | SYSTEMD_SERVICE_${PN} = "thermald.service" | ||
| 27 | |||
| 28 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux' | ||
| 29 | |||
| 30 | CONFFILES_${PN} = " \ | ||
| 31 | ${sysconfdir}/thermald/thermal-conf.xml \ | ||
| 32 | ${sysconfdir}/thermald/thermal-cpu-cdev-order.xml \ | ||
| 33 | " | ||
| 34 | |||
| 35 | UPSTREAM_CHECK_URI = "https://github.com/01org/thermal_daemon/releases" | ||
