i2cdev: Fix MUSL build

Building the recipe with MUSL fails, because it uses error.h which isn't
supported by MUSL. Because the usage is only in one expression, it's easy to
rewrite this.

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Jörg Sommer authored and Khem Raj committed 2024-01-12 08:51:12 -08:00
1 parent f01a5bf834
commit 072dd00d97
2 files changed
+123

No files matched your search

+1
View File
@@ -17,6 +17,7 @@ PR = "git${SRCPV}"
SRC_URI = "\
git://github.com/costad2/i2cdev.git;protocol=https;branch=master \
file://fix-lsi2c-makefile.patch \
file://fix-musl.patch \
"
SRCREV = "ed9ad777d842880e7ac6ca5e0de4bd2d3b4d02dc"