Add layer meta-stx-oran and distro poky-stx-oran
[pti/rtp.git] / meta-stx-oran / conf / layer.conf
1 #
2 ## Copyright (C) 2021 Wind River Systems, Inc.
3 #
4 #  Licensed under the Apache License, Version 2.0 (the "License");
5 #  you may not use this file except in compliance with the License.
6 #  You may obtain a copy of the License at
7 #
8 #      http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #  Unless required by applicable law or agreed to in writing, software
11 #  distributed under the License is distributed on an "AS IS" BASIS,
12 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #  See the License for the specific language governing permissions and
14 #  limitations under the License.
15
16 # We have a conf and classes directory, add to BBPATH
17 BBPATH .= ":${LAYERDIR}"
18
19 # We have recipes-* directories, add to BBFILES
20 BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
21             ${LAYERDIR}/recipes-*/*/*.bbappend"
22
23 BBFILE_COLLECTIONS += "stx-oran-layer"
24 BBFILE_PATTERN_stx-oran-layer := "^${LAYERDIR}/"
25 BBFILE_PRIORITY_stx-oran-layer = "5"
26
27 LAYERDEPENDS_STX = "\
28         core \
29         dpdk \
30         networking-layer \
31         openembedded-layer \
32         networking-layer \
33         filesystems-layer \
34         perl-layer \
35         meta-python \
36         webserver \
37         virtualization-layer \
38         cloud-services-layer \
39         openstack-layer \
40         stx-distro-layer \
41 "
42
43 LAYERDEPENDS_STX_ANACONDA = "\
44         core \
45         filesystems-layer \
46         meta-python \
47         networking-layer \
48         openembedded-layer \
49         stx-distro-layer \
50 "
51
52 LAYERDEPENDS_stx-oran-layer = "${@bb.utils.contains('BBFILE_COLLECTIONS', 'meta-anaconda', '${LAYERDEPENDS_STX_ANACONDA}', '${LAYERDEPENDS_STX}', d)}"
53
54 # This should only be incremented on significant changes that will
55 # cause compatibility issues with other layers
56 LAYERVERSION_stx-oran-version = "1"
57 LAYERSERIES_COMPAT_stx-oran-layer = "thud warrior"
58
59 LAYER_PATH_meta-stx-oran = "${LAYERDIR}"