From: Fabrice Fontaine Date: Wed, 23 Dec 2020 11:22:59 +0000 (+0100) Subject: package/sysstat: enable lm-sensors support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=36c428aaa10a034b994e6297828c33e7abca5ceb;p=buildroot.git package/sysstat: enable lm-sensors support Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- 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))