summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Barker <pbarker@konsulko.com>2020-03-02 17:18:34 +0000
committerArmin Kuster <akuster808@gmail.com>2020-03-15 13:30:34 -0700
commita61b6c3f54343c54c923ee23b89cf797e4cf504a (patch)
tree76d4818ec7df3f76e16fc7b34023ef38ba13797a
parent28fef8eb25c6791607da75f8e6273b645e542919 (diff)
downloadmeta-openembedded-a61b6c3f54343c54c923ee23b89cf797e4cf504a.tar.gz
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 5674b0a9e8778f7538419451e629ef0c13711123 from master branch. Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-bsp/lm_sensors/lmsensors_3.5.0.bb3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta-oe/recipes-bsp/lm_sensors/lmsensors_3.5.0.bb b/meta-oe/recipes-bsp/lm_sensors/lmsensors_3.5.0.bb
index ffafd17f8..316d066d5 100644
--- a/meta-oe/recipes-bsp/lm_sensors/lmsensors_3.5.0.bb
+++ b/meta-oe/recipes-bsp/lm_sensors/lmsensors_3.5.0.bb
@@ -7,7 +7,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
7DEPENDS = " \ 7DEPENDS = " \
8 bison-native \ 8 bison-native \
9 flex-native \ 9 flex-native \
10 rrdtool \
11 virtual/libiconv \ 10 virtual/libiconv \
12" 11"
13 12
@@ -93,7 +92,7 @@ ALLOW_EMPTY_${PN} = "1"
93RDEPENDS_${PN} += " \ 92RDEPENDS_${PN} += " \
94 ${PN}-libsensors \ 93 ${PN}-libsensors \
95 ${PN}-sensors \ 94 ${PN}-sensors \
96 ${PN}-sensord \ 95 ${@bb.utils.contains('PACKAGECONFIG', 'sensord', '${PN}-sensord', '', d)} \
97 ${PN}-fancontrol \ 96 ${PN}-fancontrol \
98 ${PN}-sensorsdetect \ 97 ${PN}-sensorsdetect \
99 ${PN}-sensorsconfconvert \ 98 ${PN}-sensorsconfconvert \