Skip to content
Snippets Groups Projects
Verified Commit 6827c361 authored by Andrei Gherzan's avatar Andrei Gherzan :penguin:
Browse files

meta-ohos-blueprints: Handle all demo->blueprint renames or adaptations


Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
parent 5acb94a7
No related branches found
No related tags found
No related merge requests found
......@@ -6,11 +6,12 @@
## Description
This layer, `meta-ohos-demo`, contains build metadata for OpenHarmony demos.
This layer, `meta-ohos-blueprints`, contains build metadata for OpenHarmony
blueprints.
## Layer dependencies
The `meta-ohos-demo` layer depends on the following layers:
The `meta-ohos-blueprints` layer depends on the following layers:
* meta-ohos
* URI: https://git.ostc-eu.org/OSTC/OHOS/meta-ohos.git
......
......@@ -2,17 +2,17 @@
#
# SPDX-License-Identifier: Apache-2.0
# Distro configuration for the dashboard demo
# Distro configuration for the dashboard blueprint
require conf/distro/openharmony-linux.conf
include conf/distro/include/ha-versions.inc
DISTRO = "openharmony-linux-demo-dashboard"
DISTRO_NAME = "OpenHarmony Dashboard Demo Linux Distro"
DISTRO = "openharmony-linux-blueprint-dashboard"
DISTRO_NAME = "OpenHarmony Dashboard Blueprint Linux Distro"
# Custom hostnames for easy DNS resolution for this demo.
# Custom hostnames for easy DNS resolution for this blueprint.
# The gateway would run on a stm32mp1-av96 machine.
hostname_base-files_stm32mp1-av96 = "demo-dashboard-gateway"
hostname_base-files_stm32mp1-av96 = "blueprint-dashboard-gateway"
# Avoid build warning(s) for ununsed extra partitions.
ST_VENDORFS = "0"
......
......@@ -9,9 +9,9 @@ BBPATH .= ":${LAYERDIR}"
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "meta-ohos-demos"
BBFILE_PATTERN_meta-ohos-demos = "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-ohos-demos = "6"
BBFILE_COLLECTIONS += "meta-ohos-blueprints"
BBFILE_PATTERN_meta-ohos-blueprints = "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-ohos-blueprints = "6"
LAYERDEPENDS_meta-ohos-demos = "core"
LAYERSERIES_COMPAT_meta-ohos-demos = "dunfell"
LAYERDEPENDS_meta-ohos-blueprints = "core"
LAYERSERIES_COMPAT_meta-ohos-blueprints = "dunfell"
......@@ -4,7 +4,7 @@
require recipes-core/images/openharmony-image-base.bb
SUMMARY = "Dashboard demo image: gateway"
SUMMARY = "Dashboard blueprint image: gateway"
DESCRIPTION = "Home Assistant based image targeting a gateway device"
LICENSE = "Apache-2.0"
......
......@@ -4,7 +4,7 @@
require recipes-kernel/zephyr-kernel/zephyr-sample.inc
SUMMARY = "SmartHome demo image: IOT endpoint"
SUMMARY = "SmartHome blueprint image: IOT endpoint"
DESCRIPTION = "Zephyr based image targeting IOT endpoints"
LICENSE = "Apache-2.0"
......
......@@ -2,9 +2,9 @@
#
# SPDX-License-Identifier: Apache-2.0
require zephyr-demo-smarthome-base.bb
require zephyr-blueprint-smarthome-base.bb
SUMMARY = "SmartHome demo image: smart LED"
SUMMARY = "SmartHome blueprint image: smart LED"
DESCRIPTION = "Zephyr based image targeting smart LED board"
LICENSE = "Apache-2.0"
......
......@@ -2,9 +2,9 @@
#
# SPDX-License-Identifier: Apache-2.0
require zephyr-demo-smarthome-base.bb
require zephyr-blueprint-smarthome-base.bb
SUMMARY = "SmartHome demo image: sensors"
SUMMARY = "SmartHome blueprint image: sensors"
DESCRIPTION = "Zephyr based image targeting sensors board"
LICENSE = "Apache-2.0"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment