Patrick Williams | 5877637 | 2022-04-13 09:07:35 -0500 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: Huawei Inc. |
| 2 | # |
| 3 | # SPDX-License-Identifier: Apache-2.0 |
| 4 | SUMMARY = "OpenThread Daemon is an OpenThread POSIX build mode that runs OpenThread as a service." |
| 5 | SECTION = "net" |
| 6 | LICENSE = "BSD-3-Clause & Apache-2.0" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=543b6fe90ec5901a683320a36390c65f \ |
| 8 | file://third_party/mbedtls/repo/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ |
| 9 | " |
| 10 | DEPENDS = "readline" |
| 11 | SRCREV = "7dfde1f12923f03c9680be4d838b94b7a2320324" |
| 12 | PV = "0.1+git${SRCPV}" |
| 13 | |
| 14 | SRC_URI = "git://github.com/openthread/openthread.git;protocol=https;branch=main \ |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame^] | 15 | file://0001-bn_mul.h-fix-x86-PIC-inline-ASM-compilation-with-GCC.patch \ |
| 16 | file://mbedtls.patch \ |
Patrick Williams | 5877637 | 2022-04-13 09:07:35 -0500 | [diff] [blame] | 17 | " |
| 18 | |
| 19 | S = "${WORKDIR}/git" |
| 20 | |
| 21 | inherit cmake |
| 22 | |
| 23 | EXTRA_OECMAKE = "-DOT_DAEMON=ON \ |
| 24 | -DOT_SPINEL_RESET_CONNECTION=ON \ |
| 25 | -DOT_THREAD_VERSION=1.2 \ |
| 26 | -DOT_COVERAGE=OFF \ |
| 27 | -DOT_PLATFORM=posix \ |
| 28 | -DCMAKE_BUILD_TYPE=Release \ |
| 29 | " |