diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2020-06-22 08:47:06 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2020-06-22 13:59:04 +0800 |
commit | d7c8cc9f47a1551836cf9b2e88b998fe22b20a20 (patch) | |
tree | cea6601b93ee3409f0a8f03435845b900dfc2e59 /recipes-bsp/thermald/thermald_2.2.bb | |
parent | 635e8a6892163cc3334a9b947abaca70697d458f (diff) | |
download | meta-intel-d7c8cc9f47a1551836cf9b2e88b998fe22b20a20.tar.gz |
thermald: upgrade 1.9.1 -> 2.2
openmp is not required by thermald so remove the dependency. Also remove
the DEPENDS on systemd and pass the systemd unit directory path.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'recipes-bsp/thermald/thermald_2.2.bb')
-rw-r--r-- | recipes-bsp/thermald/thermald_2.2.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes-bsp/thermald/thermald_2.2.bb b/recipes-bsp/thermald/thermald_2.2.bb new file mode 100644 index 00000000..6da1291d --- /dev/null +++ b/recipes-bsp/thermald/thermald_2.2.bb | |||
@@ -0,0 +1,36 @@ | |||
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 | LICENSE = "GPLv2" | ||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=ea8831610e926e2e469075b52bf08848" | ||
12 | |||
13 | SRC_URI = "git://github.com/intel/thermal_daemon/ \ | ||
14 | file://0001-configure.ac-disable-werror.patch \ | ||
15 | " | ||
16 | SRCREV = "4f0e68974c26749191ac945586b8cc97800d5d02" | ||
17 | S = "${WORKDIR}/git" | ||
18 | |||
19 | inherit pkgconfig autotools systemd | ||
20 | |||
21 | EXTRA_OECONF = " \ | ||
22 | --with-systemdsystemunitdir=${systemd_system_unitdir} \ | ||
23 | " | ||
24 | |||
25 | FILES_${PN} += "${datadir}/dbus-1/system-services/*.service" | ||
26 | |||
27 | SYSTEMD_SERVICE_${PN} = "thermald.service" | ||
28 | |||
29 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux' | ||
30 | |||
31 | CONFFILES_${PN} = " \ | ||
32 | ${sysconfdir}/thermald/thermal-conf.xml \ | ||
33 | ${sysconfdir}/thermald/thermal-cpu-cdev-order.xml \ | ||
34 | " | ||
35 | |||
36 | UPSTREAM_CHECK_URI = "https://github.com/01org/thermal_daemon/releases" | ||