diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2017-09-04 21:10:52 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-11 17:30:28 +0100 |
commit | 2ba1ff1e60f12d7f16ad61e7525bcd74f5530279 (patch) | |
tree | b4ecc6a48ee2dd2eea5209e7f53eb200d01b68e7 | |
parent | 499d10952932cbcde28b307f31d9a92c93879d4c (diff) | |
download | poky-2ba1ff1e60f12d7f16ad61e7525bcd74f5530279.tar.gz |
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>
-rw-r--r-- | 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 61da4cde0f..0bc7e14d36 100644 --- a/meta/recipes-extended/sysstat/sysstat.inc +++ b/meta/recipes-extended/sysstat/sysstat.inc | |||
@@ -17,8 +17,10 @@ DEPENDS += "base-passwd" | |||
17 | # autotools-brokensep as this package doesn't use automake | 17 | # autotools-brokensep as this package doesn't use automake |
18 | inherit autotools-brokensep gettext systemd | 18 | inherit autotools-brokensep gettext systemd |
19 | 19 | ||
20 | EXTRA_OECONF += "--disable-sensors" | 20 | PACKAGECONFIG ??= "" |
21 | EXTRA_OEMAKE += 'LFLAGS=""' | 21 | PACKAGECONFIG[lm-sensors] = "--enable-sensors,--disable-sensors,lmsensors,lmsensors-libsensors" |
22 | |||
23 | EXTRA_OECONF += "--disable-stripping" | ||
22 | 24 | ||
23 | SYSTEMD_PACKAGES = "${PN}" | 25 | SYSTEMD_PACKAGES = "${PN}" |
24 | SYSTEMD_SERVICE_${PN} = "sysstat.service" | 26 | SYSTEMD_SERVICE_${PN} = "sysstat.service" |