mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
499d109529
commit
2ba1ff1e60
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user