[dunfell][PATCH] lmsensors: do not depend on lmsensors-isatools on non-x86


Martin Jansa
 

From: lumag <dbaryshkov@...>

lmsensors will build isadump and isaset only on x86 architecture.
Depending on this package breaks lmsensors on all non-x86 machines. Fix
this by enabling ${PN}-isatools dependency only on x86.

Signed-off-by: Dmitry Baryshkov <dbaryshkov@...>
Signed-off-by: Khem Raj <raj.khem@...>
Signed-off-by: Martin Jansa <Martin.Jansa@...>
---

cherry-picked from gatesgarth 428d4e6885

meta-oe/recipes-bsp/lm_sensors/lmsensors_3.6.0.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-bsp/lm_sensors/lmsensors_3.6.0.bb b/meta-oe/recipes-bsp/lm_sensors/lmsensors_3.6.0.bb
index 890db55bcc..9c561e9f47 100644
--- a/meta-oe/recipes-bsp/lm_sensors/lmsensors_3.6.0.bb
+++ b/meta-oe/recipes-bsp/lm_sensors/lmsensors_3.6.0.bb
@@ -95,7 +95,7 @@ RDEPENDS_${PN} += " \
${PN}-sensorsdetect \
${PN}-sensorsconfconvert \
${PN}-pwmconfig \
- ${PN}-isatools \
+ ${@bb.utils.contains('MACHINE_FEATURES', 'x86', '${PN}-isatools', '', d)} \
"

# libsensors packages
--
2.32.0

Join openembedded-devel@lists.openembedded.org to automatically receive all group messages.