diff --git a/meta-ohos-demo/recipes-kernel/zephyr-kernel/zephyr-demo-smarthome-sensors.bb b/meta-ohos-demo/recipes-kernel/zephyr-kernel/zephyr-demo-smarthome-sensors.bb new file mode 100644 index 0000000000000000000000000000000000000000..ebcadfba467a8fb211ab172fdcfa97ffc3ebdfeb --- /dev/null +++ b/meta-ohos-demo/recipes-kernel/zephyr-kernel/zephyr-demo-smarthome-sensors.bb @@ -0,0 +1,14 @@ +# SPDX-FileCopyrightText: Huawei Inc. +# +# SPDX-License-Identifier: Apache-2.0 + +require zephyr-demo-smarthome-base.bb + +SUMMARY = "SmartHome demo image: sensors" +DESCRIPTION = "Zephyr based image targeting sensors board" +LICENSE = "Apache-2.0" + +# Comment out features not used by this image +do_configure_append() { + sed -i '/^CONFIG_GROVE_LED_CTRL/ s/./#&/' ${ZEPHYR_SRC_DIR}/prj.conf +}