aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2017-09-04 21:10:52 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-11 17:30:11 +0100
commitff9f629d70a9016f8f40d3d68c80111897c7a2c3 (patch)
tree9b6db9a489b04d51272f92ec087b08892f0bb1b5
parent2348dda6b8a86352e72ef41b24df3a19e8bc98ce (diff)
downloadopenembedded-core-contrib-ff9f629d70a9016f8f40d3d68c80111897c7a2c3.tar.gz
openembedded-core-contrib-ff9f629d70a9016f8f40d3d68c80111897c7a2c3.tar.bz2
openembedded-core-contrib-ff9f629d70a9016f8f40d3d68c80111897c7a2c3.zip
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. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-extended/sysstat/sysstat.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-extended/sysstat/sysstat.inc b/meta/recipes-extended/sysstat/sysstat.inc
index 61da4cde0fe..0bc7e14d365 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"