Khem Raj
c1d9e520e6
ot-br-posix: Update to latest
...
Drop backports
Add a new patch to supply additional musl fixes
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-24 22:52:26 -07:00
Khem Raj
192f412b3d
ot-br-posix: upgrade to latest trunk
...
Fix build with clang and drop unneeded patch for unused variable 'i'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-09 09:52:15 -08:00
Martin Jansa
21f956598d
recipes: drop ${SRCPV} usage
...
* Drop SRCPV similarly like oe-core did in:
https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=843f82a246a535c353e08072f252d1dc78217872
* SRCPV is deferred now from PV to PKGV since:
https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=a8e7b0f932b9ea69b3a218fca18041676c65aba0
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
2024-02-09 09:52:12 -08:00
Philippe Coval
fc8209e8bc
ot-br-posix: Add dep to ipset as used by firewall
...
ipset is used by firewall module of ot-br-posix:
third_party/openthread/repo/src/posix/platform/firewall.cpp:\
return ExecuteCommand("%s add %s %s -exist", kIpsetCommand, aSetName, aAddress);
Related observed issue looked like:
```
oniro@oniro-linux-blueprint-gateway-raspberrypi4-64:~$ sudo journalctl -u otbr-agent.service
Apr 28 17:42:32 oniro-linux-blueprint-gateway-raspberrypi4-64 systemd[1]: Started OpenThread Border Router Agent.
Apr 28 17:42:38 oniro-linux-blueprint-gateway-raspberrypi4-64 otbr-agent[330]: sh: ipset: not found
```
Relate-to: https://gitlab.eclipse.org/eclipse/oniro-blueprints/transparent-gateway/meta-oniro-blueprints-gateway/-/issues/6
Cc: Stefan Schmidt <stefan.schmidt@huawei.com>
Forwarded: https://github.com/openembedded/meta-openembedded/pull/611
Signed-off-by: Philippe Coval <philippe.coval.ext@huawei.com>
2022-09-21 06:34:45 -07:00
Khem Raj
db1ebc121d
ot-br-posix: Fix unused variable error
...
Fixes
r: variable 'i' set but not used [-Wunused-but-set-variable]
| for (uint8_t i = 0;; i++)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-07 16:44:54 -07:00
Khem Raj
704014e5a9
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>
2022-08-31 10:06:32 -07:00
Khem Raj
47d2307ae7
ot-br-posix: Fix build with gcc
...
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Stefan Schmidt <stefan.schmidt@huawei.com>
2022-04-20 10:58:01 -07:00
Khem Raj
6f5d694d9c
ot-br-posix: Disable Wsign-compare for clang
...
Specify is via CXXFLAGS instead of pragma dance.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-13 19:21:41 -07:00
Stefan Schmidt
bb6a70a463
ot-br-posix: add recipe for an OpenThread Border Router
...
The OpenThread project is an open source implementation of the Thread
low-power mesh network protocol. In a Thread network devices can have
different roles, and of of these roles is a Border Router that allows a
Thread network to be connected with other IP networks.
Ot-br-posix runs as a systemd service on a standard Linux system to
handle the connection to a Thread network.
In terms of patches we need a fix to allow building on musl + clang
(CMSG_NXTHDR macro triggers a -Wsign-compare warning) and a systemd
unit file change is OE specific and avoids having service dependencies
implemented as pre exec hooks.
Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-07 17:40:45 -04:00