[gnome-continuous-yocto/gnomeostree-3.28-rocko: 7608/8267] sysstat: Add ability to enable lm-sensors



commit 2ba1ff1e60f12d7f16ad61e7525bcd74f5530279
Author: Mark Hatle <mark hatle windriver com>
Date:   Mon Sep 4 21:10:52 2017 -0500

    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.
    
    (From OE-Core rev: ff9f629d70a9016f8f40d3d68c80111897c7a2c3)
    
    Signed-off-by: Mark Hatle <mark hatle windriver com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/recipes-extended/sysstat/sysstat.inc |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/meta/recipes-extended/sysstat/sysstat.inc b/meta/recipes-extended/sysstat/sysstat.inc
index 61da4cd..0bc7e14 100644
--- a/meta/recipes-extended/sysstat/sysstat.inc
+++ b/meta/recipes-extended/sysstat/sysstat.inc
@@ -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"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]