diff --git a/meta-ohos-core/README.md b/meta-ohos-core/README.md new file mode 100644 index 0000000000000000000000000000000000000000..843a894ef6d2e702a2f23f0890687d30f26f1445 --- /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 0000000000000000000000000000000000000000..606beac054318d2457d5050a44d9602a44188c39 --- /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"