Add initial meta-stx to support StarlingX build
[pti/rtp.git] / meta-stx / conf / layer.conf
1 #
2 ## Copyright (C) 2019 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-layer"
24 BBFILE_PATTERN_stx-layer := "^${LAYERDIR}/"
25 BBFILE_PRIORITY_stx-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 "
41
42 LAYERDEPENDS_STX_ANACONDA = "\
43         core \
44         filesystems-layer \
45         meta-python \
46         networking-layer \
47         openembedded-layer \
48 "
49
50 LAYERDEPENDS_stx-layer = "${@bb.utils.contains('BBFILE_COLLECTIONS', 'meta-anaconda', '${LAYERDEPENDS_STX_ANACONDA}', '${LAYERDEPENDS_STX}', d)}"
51
52 # This should only be incremented on significant changes that will
53 # cause compatibility issues with other layers
54 LAYERVERSION_stx-version = "1"
55 LAYERSERIES_COMPAT_stx-layer = "thud warrior"
56
57 LAYER_PATH_meta-stx = "${LAYERDIR}"
58
59 # Masked recipes:
60 BBMASK += "/meta-python2/recipes-core/images/meta-python-ptest-image.bb"
61 BBMASK += "/meta-python2/recipes-core/images/meta-python-image-base.bb"
62 BBMASK += "/meta-python2/recipes-core/images/meta-python-image.bb"
63 BBMASK += "/meta-stak-common/recipes-containers/kubernetes/kubernetes_git.bbappend"
64 BBMASK += "/meta-cloud-services/meta-openstack/recipes-devtools/python/python-cephclient_0.1.0.5.bb"
65 BBMASK += "/meta-openstack/recipes-devtools/qemu/qemu_2.%.bbappend"
66 BBMASK += "/meta-cloud-services/meta-openstack/recipes-kernel/linux/linux-yocto_4.18.bbappend"
67 BBMASK += "/meta-selinux/recipes-graphics/mesa/mesa_%.bbappend"
68 BBMASK += "/meta-virtualization/recipes-containers/docker-distribution/docker-distribution_git.bb"