diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-08-30 00:12:13 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-08-31 10:06:32 -0700 |
commit | 704014e5a9106edb90ba21e4671bdfd5010720b1 (patch) | |
tree | 9286c5d7be1415f42a29eb3371fcd61f00d87de0 /meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb | |
parent | 97045ab0132e7f0c1e4f262945552d028b0af52a (diff) | |
download | meta-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.bb | 7 |
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}" | |||
17 | SRC_URI = "gitsm://github.com/openthread/ot-br-posix.git;protocol=https;branch=main \ | 17 | SRC_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 | ||
22 | S = "${WORKDIR}/git" | 24 | S = "${WORKDIR}/git" |
23 | SYSTEMD_SERVICE:${PN} = "otbr-agent.service" | 25 | SYSTEMD_SERVICE:${PN} = "otbr-agent.service" |
24 | 26 | ||
25 | inherit pkgconfig cmake systemd | 27 | inherit 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] | |
27 | CXXFLAGS:append:libc-musl:toolchain-clang = " -Wno-error=sign-compare" | 29 | # for (uint8_t i = 0;; i++) |
30 | CXXFLAGS:append:libc-musl:toolchain-clang = " -Wno-error=sign-compare -Wno-error=unused-but-set-variable" | ||
28 | 31 | ||
29 | EXTRA_OECMAKE = "-DBUILD_TESTING=OFF \ | 32 | EXTRA_OECMAKE = "-DBUILD_TESTING=OFF \ |
30 | -DOTBR_DBUS=ON \ | 33 | -DOTBR_DBUS=ON \ |