aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/mraa/mraa_git.bb
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2018-01-27 02:24:28 -0800
committerArmin Kuster <akuster808@gmail.com>2018-02-11 11:50:56 -0800
commit75356b6a76e965f6e282e8219e88afc1ab4f3240 (patch)
tree6a8fb4def143c0139c7048f42844582175ba902d /meta-oe/recipes-extended/mraa/mraa_git.bb
parent427184e46a1b9138159f0baa5db497807b0a65a1 (diff)
downloadmeta-openembedded-contrib-75356b6a76e965f6e282e8219e88afc1ab4f3240.tar.gz
mraa: fix build for musl
* be16toh and le16toh are defined in endian.h Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/mraa/mraa_git.bb')
-rw-r--r--meta-oe/recipes-extended/mraa/mraa_git.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/mraa/mraa_git.bb b/meta-oe/recipes-extended/mraa/mraa_git.bb
index c4b9c6f90e..e1d593cbee 100644
--- a/meta-oe/recipes-extended/mraa/mraa_git.bb
+++ b/meta-oe/recipes-extended/mraa/mraa_git.bb
@@ -10,6 +10,8 @@ PV = "1.7.0-git${SRCPV}"
SRC_URI = "git://github.com/intel-iot-devkit/${BPN}.git;protocol=http"
+SRC_URI_append_libc-musl = " file://0001-examples-iio_driver.c-include-endian.h-to-fix-musl-b.patch"
+
S = "${WORKDIR}/git"
# CMakeLists.txt checks the architecture, only x86 and ARM supported for now