Skip to content
Snippets Groups Projects
Commit a32a1318 authored by Esben Haabendal's avatar Esben Haabendal
Browse files

conf: Add layer configuration and configuration sample files.


Signed-off-by: default avatarEsben Haabendal <esben.haabendal@huawei.com>
parent 038e4a29
No related branches found
No related tags found
1 merge request!1Initial code import
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " \
##OEROOT##/../oniro/meta-oniro-staging \
##OEROOT##/meta \
##OEROOT##/../meta-clang \
##OEROOT##/../meta-openembedded/meta-oe \
##OEROOT##/../meta-openembedded/meta-python \
##OEROOT##/../meta-openharmony \
"
### Shell environment set up for builds. ###
You can now run 'bitbake <target>'
Common targets are:
oniro-openharmony-toolchain
oniro-openharmony-bundle
Other commonly useful commands are:
- 'devtool' and 'recipetool' handle common recipe tasks
- 'bitbake-layers' handles common layer tasks
- 'oe-pkgdata-util' handles common target package tasks
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
# We have a conf directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"
# We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "meta-openharmony"
BBFILE_PATTERN_meta-openharmony = "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-openharmony = "5"
LAYERDEPENDS_meta-openharmony = "core"
LAYERDEPENDS_meta-openharmony += "openembedded-layer"
LAYERDEPENDS_meta-openharmony += "oniro-staging"
LAYERDEPENDS_meta-openharmony += "meta-python"
LAYERDEPENDS_meta-openharmony += "clang-layer"
LAYERSERIES_COMPAT_meta-openharmony = "kirkstone"
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
# This file is your local configuration file and is where all local user settings
# are placed. The comments in this file give some guide to the options a new user
# to the system might want to change but pretty much any configuration option can
# be set in this file. More adventurous users can look at local.conf.extended
# which contains other examples of configuration which can be placed in this file
# but new users likely won't need any of them initially.
#
# Lines starting with the '#' character are commented out and in some cases the
# default values are provided as comments to show people example syntax. Enabling
# the option is a question of removing the # character and making any change to the
# variable as required.
# Machine Selection
#
# You need to select a specific machine to target the build with. There are a selection
# of emulated machines available which can boot and run in the QEMU emulator:
#
#MACHINE ?= "qemuarma7"
#
# This sets the default machine to aries if no other machine is selected:
MACHINE ??= "qemuarma7"
# SDK architecture
#
SDKMACHINE ?= "x86_64"
#
# Default policy config
#
DISTRO ?= "oniro-openharmony-linux"
#
# Parallelism Options
#
# These two options control how much parallelism BitBake should use. The first
# option determines how many tasks bitbake should run in parallel:
#
#BB_NUMBER_THREADS ?= "4"
#
# Default to setting automatically based on cpu count
#BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"
#
# The second option controls how many processes make should run in parallel when
# running compile tasks:
#
#PARALLEL_MAKE ?= "-j 4"
#
# Default to setting automatically based on cpu count
#PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
#
# For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
# be appropriate for example.
#
# Removes sources after build to conserve diskspace
#
INHERIT += "rm_work"
RM_WORK_EXCLUDE += "qemu-helper-native"
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