From 36c428aaa10a034b994e6297828c33e7abca5ceb Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Wed, 23 Dec 2020 12:22:59 +0100 Subject: [PATCH] package/sysstat: enable lm-sensors support Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/sysstat/sysstat.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/package/sysstat/sysstat.mk b/package/sysstat/sysstat.mk index 8e627f2e96..7d254d6643 100644 --- a/package/sysstat/sysstat.mk +++ b/package/sysstat/sysstat.mk @@ -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)) -- 2.30.2