Skip to contentSkip to conversation

sysstat: Add ability to enable lm-sensors

PATCH New Mark Hatle 1 participant 1 message Sep 5, 2017

lore
Share & tools
lore

Mark Hatle

author
#0 lore raw

PATCH 1/1 sysstat: Add ability to enable lm-sensors

Add lm-sensors PACKAGECONFIG option.

Change from setting LFLAGS="" to --disable-strip, otherwise lm-sensors will not link properly.

---
 meta/recipes-extended/sysstat/sysstat.inc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
meta/recipes-extended/sysstat/sysstat.inc +4 -2
index 61da4cd..0bc7e14 100644
@@ -17,8 +17,10 @@ DEPENDS += "base-passwd"
 # autotools-brokensep as this package doesn't use automake
 inherit autotools-brokensep gettext systemd
 
-EXTRA_OECONF += "--disable-sensors"
-EXTRA_OEMAKE += 'LFLAGS=""'
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[lm-sensors] = "--enable-sensors,--disable-sensors,lmsensors,lmsensors-libsensors"
+
+EXTRA_OECONF += "--disable-stripping"
 
 SYSTEMD_PACKAGES = "${PN}"
 SYSTEMD_SERVICE_${PN} = "sysstat.service"
Signature · 1 line
1.8.3.1