X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-stx-oran%2Fconf%2Flayer.conf;fp=meta-stx-oran%2Fconf%2Flayer.conf;h=8c4dcc78510328fe0b5a81bab086f240855c30b1;hb=4051bbac93fe0862eb0106d46519a25887cba15e;hp=0000000000000000000000000000000000000000;hpb=ef0646d3751182f139f04f8cebf4536bbbf4c08a;p=pti%2Frtp.git diff --git a/meta-stx-oran/conf/layer.conf b/meta-stx-oran/conf/layer.conf new file mode 100644 index 0000000..8c4dcc7 --- /dev/null +++ b/meta-stx-oran/conf/layer.conf @@ -0,0 +1,59 @@ +# +## 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}"