package/sysstat: enable lm-sensors support

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2020-12-23 12:22:59 +01:00 committed by Peter Korsgaard
parent f9d0f4b179
commit 36c428aaa1

View File

@ -7,9 +7,16 @@
SYSSTAT_VERSION = 12.4.2
SYSSTAT_SOURCE = sysstat-$(SYSSTAT_VERSION).tar.xz
SYSSTAT_SITE = http://pagesperso-orange.fr/sebastien.godard
SYSSTAT_CONF_OPTS = --disable-file-attr --disable-sensors
SYSSTAT_CONF_OPTS = --disable-file-attr
SYSSTAT_DEPENDENCIES = host-gettext $(TARGET_NLS_DEPENDENCIES)
SYSSTAT_LICENSE = GPL-2.0+
SYSSTAT_LICENSE_FILES = COPYING
ifeq ($(BR2_PACKAGE_LM_SENSORS),y)
SYSSTAT_DEPENDENCIES += lm-sensors
SYSSTAT_CONF_OPTS += --enable-sensors
else
SYSSTAT_CONF_OPTS += --disable-sensors
endif
$(eval $(autotools-package))