From 3d6340c81c8e95c0f3c62ea1eeaa9ea11b0d6157 Mon Sep 17 00:00:00 2001 From: Zbigniew Bodek <zbigniew.bodek@huawei.com> Date: Wed, 10 Feb 2021 14:31:21 +0100 Subject: [PATCH] meta-ohos-core: Introduce core layer Add meta-ohos-core layer skeleton. It is intended to be used to provide OpenHarmony distributions and images. Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com> --- meta-ohos-core/README.md | 34 ++++++++++++++++++++++++++++++++++ meta-ohos-core/conf/layer.conf | 13 +++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 meta-ohos-core/README.md create mode 100644 meta-ohos-core/conf/layer.conf diff --git a/meta-ohos-core/README.md b/meta-ohos-core/README.md new file mode 100644 index 00000000..843a894e --- /dev/null +++ b/meta-ohos-core/README.md @@ -0,0 +1,34 @@ +This README file contains information about the contents of the meta-ohos-core layer. + +Please see the corresponding sections below for details. + +Table of Contents +================= + + I. Dependencies + II. Adding the meta-ohos-core layer to your build +III. Misc + +I. Dependencies +=============== + +This layer depends on: + +- URI: git://git.yoctoproject.org/poky + - branch: master + - revision: HEAD + +- URI: git://git.openembedded.org/meta-openembedded + - layers: meta-oe + - branch: master + - revision: HEAD + +II. Adding the meta-ohos-core layer to your build +================================================= + +Run 'bitbake-layers add-layer /path/to/meta-ohos-core' + +III. Misc +========= + +This layer provides recipes for the core elements of the OpenHarmony distribution. diff --git a/meta-ohos-core/conf/layer.conf b/meta-ohos-core/conf/layer.conf new file mode 100644 index 00000000..606beac0 --- /dev/null +++ b/meta-ohos-core/conf/layer.conf @@ -0,0 +1,13 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have recipes-* directories, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "meta-ohos-core" +BBFILE_PATTERN_meta-ohos-core = "^${LAYERDIR}/" +BBFILE_PRIORITY_meta-ohos-core = "6" + +LAYERDEPENDS_meta-ohos-core = "core" +LAYERSERIES_COMPAT_meta-ohos-core = "dunfell" -- GitLab