From 152eb80c295f28b43a7dc1708c821687bda66c96 Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Wed, 7 Apr 2021 13:50:50 +0100
Subject: [PATCH] meta-ohos-demo: Add layer for compatibility

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 meta-ohos-demo/conf/layer.conf | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta-ohos-demo/conf/layer.conf

diff --git a/meta-ohos-demo/conf/layer.conf b/meta-ohos-demo/conf/layer.conf
new file mode 100644
index 00000000..45083109
--- /dev/null
+++ b/meta-ohos-demo/conf/layer.conf
@@ -0,0 +1,18 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+#
+# SPDX-License-Identifier: Apache-2.0
+
+# This layer was deprecated in favour of meta-ohos-blueprints. This is a
+# compatible layer to not break existing bblayers.conf.
+BBPATH .= ":${LAYERDIR}/../meta-ohos-blueprints"
+
+# We have recipes-* directories, add to BBFILES
+BBFILES += "${LAYERDIR}/../meta-ohos-blueprints/recipes-*/*/*.bb \
+            ${LAYERDIR}/../meta-ohos-blueprints/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "meta-ohos-demo"
+BBFILE_PATTERN_meta-ohos-demo = "^${LAYERDIR}/../meta-ohos-blueprints"
+BBFILE_PRIORITY_meta-ohos-demo = "6"
+
+LAYERDEPENDS_meta-ohos-demo = "core"
+LAYERSERIES_COMPAT_meta-ohos-demo = "dunfell"
-- 
GitLab