lmsensors: Fix sensord dependencies

If sensord is removed from PACKAGECONFIG, the recipe should not depend
on rrdtool and the lmsensors package should not depend on
lmsensors-sensord.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>

Backport of 5674b0a9e8 from master branch.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Paul Barker
2020-03-02 17:18:34 +00:00
committed by Armin Kuster
parent 28fef8eb25
commit a61b6c3f54
@@ -7,7 +7,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
DEPENDS = " \ DEPENDS = " \
bison-native \ bison-native \
flex-native \ flex-native \
rrdtool \
virtual/libiconv \ virtual/libiconv \
" "
@@ -93,7 +92,7 @@ ALLOW_EMPTY_${PN} = "1"
RDEPENDS_${PN} += " \ RDEPENDS_${PN} += " \
${PN}-libsensors \ ${PN}-libsensors \
${PN}-sensors \ ${PN}-sensors \
${PN}-sensord \ ${@bb.utils.contains('PACKAGECONFIG', 'sensord', '${PN}-sensord', '', d)} \
${PN}-fancontrol \ ${PN}-fancontrol \
${PN}-sensorsdetect \ ${PN}-sensorsdetect \
${PN}-sensorsconfconvert \ ${PN}-sensorsconfconvert \