From: Mark Hatle Date: Tue, 5 Sep 2017 02:10:52 +0000 (-0500) Subject: sysstat: Add ability to enable lm-sensors X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2ba1ff1e60f12d7f16ad61e7525bcd74f5530279;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- 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"