xref: /OK3568_Linux_fs/buildroot/package/thermald/thermald.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1################################################################################
2#
3# thermald
4#
5################################################################################
6
7THERMALD_VERSION = 1.9.1
8THERMALD_SITE = $(call github,intel,thermal_daemon,v$(THERMALD_VERSION))
9# fetched from Github, with no configure script
10THERMALD_AUTORECONF = YES
11THERMALD_DEPENDENCIES = dbus dbus-glib libxml2 $(TARGET_NLS_DEPENDENCIES)
12# tools are GPL-3.0+ but are not added to the target
13THERMALD_LICENSE = GPL-2.0+
14THERMALD_LICENSE_FILES = COPYING
15THERMALD_CPE_ID_VENDOR = intel
16THERMALD_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
17
18ifeq ($(BR2_INIT_SYSTEMD),y)
19THERMALD_DEPENDENCIES += systemd
20THERMALD_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system
21endif
22
23$(eval $(autotools-package))
24