From 3ad866721a2b38a09e3aa6f27a92d087fd4aef2d Mon Sep 17 00:00:00 2001 From: Zbigniew Bodek <zbigniew.bodek@huawei.com> Date: Wed, 31 Mar 2021 17:51:12 +0200 Subject: [PATCH] zephyr-demo-smarthome-base: Introduce base image for Zephyr demo app - Allows for building SmartHome Demo Zephyr application - Requires meta-zephyr layer - Application is going to be built with all options enabled (default) Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com> --- .../zephyr-demo-smarthome-base.bb | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meta-ohos-demo/recipes-kernel/zephyr-kernel/zephyr-demo-smarthome-base.bb diff --git a/meta-ohos-demo/recipes-kernel/zephyr-kernel/zephyr-demo-smarthome-base.bb b/meta-ohos-demo/recipes-kernel/zephyr-kernel/zephyr-demo-smarthome-base.bb new file mode 100644 index 00000000..e1e2a30d --- /dev/null +++ b/meta-ohos-demo/recipes-kernel/zephyr-kernel/zephyr-demo-smarthome-base.bb @@ -0,0 +1,23 @@ +# SPDX-FileCopyrightText: Huawei Inc. +# +# SPDX-License-Identifier: Apache-2.0 + +require recipes-kernel/zephyr-kernel/zephyr-sample.inc + +SUMMARY = "SmartHome demo image: IOT endpoint" +DESCRIPTION = "Zephyr based image targeting IOT endpoints" +LICENSE = "Apache-2.0" + +SRC_OPT_PROTO = "protocol=https" +SRC_OPT_DEST = "destsuffix=git/apps/smarthome" +SRC_OPT_NAME = "name=smarthome" +SRC_OPT_BRANCH = "branch=develop" + +SRC_OPTIONS = "${SRC_OPT_PROTO};${SRC_OPT_DEST};${SRC_OPT_NAME};${SRC_OPT_BRANCH}" +SRC_URI += "git://git.ostc-eu.org/OSTC/OHOS/components/smart_home_demo_zephyr.git;${SRC_OPTIONS}" + +SRCREV_smarthome = "d45c192aa8a6b25328ab40610d6e78f50afe4150" + +ZEPHYR_SRC_DIR = "${S}/apps/smarthome" + +ZEPHYR_MODULES_append = "\;${S}/modules/crypto/tinycrypt" -- GitLab