aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/openthread/ot-daemon_git.bb
blob: 4456835410bfc3ab04de40aa0a3ced77c9f3d76f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
SUMMARY = "OpenThread Daemon is an OpenThread POSIX build mode that runs OpenThread as a service."
SECTION = "net"
LICENSE = "BSD-3-Clause & Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=543b6fe90ec5901a683320a36390c65f \
                    file://third_party/mbedtls/repo/LICENSE;md5=379d5819937a6c2f1ef1630d341e026d \
                    "
DEPENDS = "readline"
SRCREV = "90adc86d34e21a9e8f86d093c2190030042c4a59"
PV = "0.1+git"

SRC_URI = "git://github.com/openthread/openthread.git;protocol=https;branch=main \
           "

S = "${WORKDIR}/git"

inherit cmake

EXTRA_OECMAKE = "-DOT_DAEMON=ON \
                 -DOT_SPINEL_RESET_CONNECTION=ON \
                 -DOT_THREAD_VERSION=1.2 \
                 -DOT_COVERAGE=OFF \
                 -DOT_PLATFORM=posix \
                 -DCMAKE_BUILD_TYPE=Release \
                 "

EXTRA_OECMAKE:append:libc-musl = " -DOT_TARGET_OPENWRT=ON"