summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-08-30 00:12:13 -0700
committerKhem Raj <raj.khem@gmail.com>2022-08-31 10:06:32 -0700
commit704014e5a9106edb90ba21e4671bdfd5010720b1 (patch)
tree9286c5d7be1415f42a29eb3371fcd61f00d87de0 /meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb
parent97045ab0132e7f0c1e4f262945552d028b0af52a (diff)
downloadmeta-openembedded-704014e5a9106edb90ba21e4671bdfd5010720b1.tar.gz
ot-daemon,ot-br-posix: Fix mbedtls module builds
Add a backport to fix build of mbedTLS on x86 Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb')
-rw-r--r--meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb b/meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb
index a16b77849..bbec81c27 100644
--- a/meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb
+++ b/meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb
@@ -17,14 +17,17 @@ PV = "0.3.0+git${SRCPV}"
17SRC_URI = "gitsm://github.com/openthread/ot-br-posix.git;protocol=https;branch=main \ 17SRC_URI = "gitsm://github.com/openthread/ot-br-posix.git;protocol=https;branch=main \
18 file://0001-otbr-agent.service.in-remove-pre-exec-hook-for-mdns-.patch \ 18 file://0001-otbr-agent.service.in-remove-pre-exec-hook-for-mdns-.patch \
19 file://0001-cmake-Disable-nonnull-compare-warning-on-gcc.patch \ 19 file://0001-cmake-Disable-nonnull-compare-warning-on-gcc.patch \
20 file://0001-bn_mul.h-fix-x86-PIC-inline-ASM-compilation-with-GCC.patch \
21 file://mbedtls.patch \
20 " 22 "
21 23
22S = "${WORKDIR}/git" 24S = "${WORKDIR}/git"
23SYSTEMD_SERVICE:${PN} = "otbr-agent.service" 25SYSTEMD_SERVICE:${PN} = "otbr-agent.service"
24 26
25inherit pkgconfig cmake systemd 27inherit pkgconfig cmake systemd
26 28# openthread/repo/src/cli/cli.cpp:1786:18: fatal error: variable 'i' set but not used [-Wunused-but-set-variable]
27CXXFLAGS:append:libc-musl:toolchain-clang = " -Wno-error=sign-compare" 29# for (uint8_t i = 0;; i++)
30CXXFLAGS:append:libc-musl:toolchain-clang = " -Wno-error=sign-compare -Wno-error=unused-but-set-variable"
28 31
29EXTRA_OECMAKE = "-DBUILD_TESTING=OFF \ 32EXTRA_OECMAKE = "-DBUILD_TESTING=OFF \
30 -DOTBR_DBUS=ON \ 33 -DOTBR_DBUS=ON \