From 9017d3839c9893738824879f387b3eb29494a160 Mon Sep 17 00:00:00 2001 From: Herb Kuta Date: Wed, 29 May 2019 09:53:32 -0700 Subject: [PATCH] DRAFT [morty] files/weboslayers.py: Import from github.com:webosose/build-webos@a68c4c7a2081853ed11efefeeb27da812e7fd00e --- files/weboslayers.py | 85 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 files/weboslayers.py diff --git a/files/weboslayers.py b/files/weboslayers.py new file mode 100644 index 0000000..62d6876 --- /dev/null +++ b/files/weboslayers.py @@ -0,0 +1,85 @@ +# Copyright (c) 2008-2018 LG Electronics, 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. +# +# This implementation introduces next generation build environment for +# Open webOS. The change introduces a mechanism to add additional layers to the +# base ones: oe-core, meta-oe, and meta-webos, and to specify the commits to be +# used for each. mcf now expects the layers to be defined in this file +# (weboslayers.py in the same directory as mcf) as a list of Python data tuples: +# +# webos_layers = [ +# ('layer-name', priority, 'URL', 'submission', 'working-dir'), +# ... +# ] +# +# where: +# +# layer-name = Unique identifier; it represents the layer directory containing +# conf/layer.conf. +# +# priority = Integer layer priority as defined by OpenEmbedded. It also +# specifies the order in which layers are searched for files. +# Larger values have higher priority. A value of -1 indicates +# that the entry is not a layer; for example, bitbake. +# +# URL = The Git repository address for the layer from which to clone. +# A value of '' skips the cloning. +# +# submission = The information used by Git to checkout and identify the precise +# content. Submission values could be "branch=" and +# "commit=" or "tag=". Omitted branch information means +# only that "master" will be used as the name of the local +# branch. Omitted commit or tag means origin/HEAD will be checked +# out (which might NOT be origin/master, although +# it usually is). +# +# working-dir = Alternative directory for the layer. +# +# The name of the distribution is also defined in this file +# along with a list of the valid MACHINE-s +# + +Distribution = "webos" + +# Supported MACHINE-s +Machines = ['raspberrypi3','qemux86'] + +# github.com/openembedded repositories are read-only mirrors of the authoritative +# repositories on git.openembedded.org +webos_layers = [ +('bitbake', -1, 'git://github.com/openembedded/bitbake.git', 'branch=1.32,commit=0193e1f', ''), + +('meta', 5, 'git://github.com/openembedded/openembedded-core.git', 'branch=morty,commit=4b32784', 'oe-core'), + +('meta-oe', 10, 'git://github.com/openembedded/meta-openembedded.git', 'branch=morty,commit=997caf9', 'meta-oe'), +('meta-multimedia', 11, 'git://github.com/openembedded/meta-openembedded.git', '', 'meta-oe'), +('meta-networking', 12, 'git://github.com/openembedded/meta-openembedded.git', '', 'meta-oe'), +('meta-python', 13, 'git://github.com/openembedded/meta-openembedded.git', '', 'meta-oe'), +('meta-filesystems', 14, 'git://github.com/openembedded/meta-openembedded.git', '', 'meta-oe'), + +('meta-qt5', 20, 'git://github.com/meta-qt5/meta-qt5.git', 'branch=krogoth,commit=dcfcb58', ''), + +('meta-webos-backports-2.3', 30, 'git://github.com/webosose/meta-webosose.git', '', ''), +('meta-webos-backports-2.4', 31, 'git://github.com/webosose/meta-webosose.git', '', ''), +('meta-webos-backports-2.5', 32, 'git://github.com/webosose/meta-webosose.git', '', ''), +('meta-webos-backports-2.6', 33, 'git://github.com/webosose/meta-webosose.git', '', ''), + +('meta-ros2', 38, 'git://github.com/lgsvl/meta-ros2.git', 'branch=ros2pr,commit=b92ab96',''), +('meta-webos', 40, 'git://github.com/webosose/meta-webosose.git', 'branch=master,commit=288cff4', ''), + +('meta-raspberrypi', 50, 'git://git.yoctoproject.org/meta-raspberrypi', 'branch=morty,commit=2a19226', ''), +('meta-webos-raspberrypi', 51, 'git://github.com/webosose/meta-webosose.git', '', ''), + +('meta-webos-ros2', 52, 'git://github.com/webosose/meta-webosose.git', '', ''), +]