blob: 8c4dcc78510328fe0b5a81bab086f240855c30b1 [file] [log] [blame]
#
## Copyright (C) 2021 Wind River Systems, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# 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 += "stx-oran-layer"
BBFILE_PATTERN_stx-oran-layer := "^${LAYERDIR}/"
BBFILE_PRIORITY_stx-oran-layer = "5"
LAYERDEPENDS_STX = "\
core \
dpdk \
networking-layer \
openembedded-layer \
networking-layer \
filesystems-layer \
perl-layer \
meta-python \
webserver \
virtualization-layer \
cloud-services-layer \
openstack-layer \
stx-distro-layer \
"
LAYERDEPENDS_STX_ANACONDA = "\
core \
filesystems-layer \
meta-python \
networking-layer \
openembedded-layer \
stx-distro-layer \
"
LAYERDEPENDS_stx-oran-layer = "${@bb.utils.contains('BBFILE_COLLECTIONS', 'meta-anaconda', '${LAYERDEPENDS_STX_ANACONDA}', '${LAYERDEPENDS_STX}', d)}"
# This should only be incremented on significant changes that will
# cause compatibility issues with other layers
LAYERVERSION_stx-oran-version = "1"
LAYERSERIES_COMPAT_stx-oran-layer = "thud warrior"
LAYER_PATH_meta-stx-oran = "${LAYERDIR}"