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 0000000000000000000000000000000000000000..e1e2a30df2ab26313ea3a8715dabdbb6adae7d18 --- /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"