1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
McfFileVersion = 2
# Value for DISTRO
Distribution = 'webos'
webOSOSEBuildNumber = 'XXX'
# Supported MACHINE-s
Machines = ['qemux86', 'raspberrypi4']
# Allow the URL and branch for meta-ros, meta-ros-webos and meta-webos to be overridden by settings in the environment.
from os import getenv
MetaRos_RepoURL = getenv('MCF_META_ROS_REPO_URL', 'git://github.com/ros/meta-ros.git')
MetaRos_Branch = getenv('MCF_META_ROS_BRANCH', 'master')
MetaRos_Commit = getenv('MCF_META_ROS_COMMIT', 'master/milestones/16')
MetaRosWebos_RepoURL = getenv('MCF_META_ROS_WEBOS_REPO_URL', 'git://github.com/ros/meta-ros-webos.git')
MetaRosWebos_Branch = getenv('MCF_META_ROS_WEBOS_BRANCH', 'master')
MetaRosWebos_Commit = getenv('MCF_META_ROS_WEBOS_COMMIT', 'master/milestones/16')
MetaWebos_RepoURL = getenv('MCF_META_WEBOS_REPO_URL', 'git://github.com/shr-project/meta-webosose.git')
MetaWebos_Branch = getenv('MCF_META_WEBOS_BRANCH', 'master')
MetaWebos_Commit = getenv('MCF_META_WEBOS_COMMIT', 'master-2021-05-27')
# Layers = [
# (layer-name: str, priority: int, URL: str, fetch: dict, options: dict),
# ...
# ]
# Note that the github.com/openembedded repositories are read-only mirrors of
# the authoritative repositories on git.openembedded.org .
Layers = [
('bitbake', -1, 'git://github.com/openembedded/bitbake.git', {'branch': 'master', 'commit': '74042b5b'}, {}),
('meta', 5, 'git://github.com/openembedded/openembedded-core.git', {'branch': 'master', 'commit': 'f88e16f4e4'}, {}),
('meta-oe', 10, 'git://github.com/openembedded/meta-openembedded.git', {'branch': 'master', 'commit': '2b01328f56'}, {}),
('meta-multimedia', 11, 'git://github.com/openembedded/meta-openembedded.git', {}, {}),
('meta-networking', 12, 'git://github.com/openembedded/meta-openembedded.git', {}, {}),
('meta-python', 13, 'git://github.com/openembedded/meta-openembedded.git', {}, {}),
('meta-filesystems', 14, 'git://github.com/openembedded/meta-openembedded.git', {}, {}),
('meta-updater', 15, 'git://github.com/advancedtelematic/meta-updater.git', {'branch': 'master', 'commit': '05e0075'}, {}),
('meta-virtualization', 16, 'git://git.yoctoproject.org/meta-virtualization', {'branch': 'master', 'commit': '638d31d'}, {}),
('meta-python2', 17, 'git://git.openembedded.org/meta-python2', {'branch': 'master', 'commit': '810d6d8'}, {}),
('meta-qt5-compat', 19, MetaWebos_RepoURL, {}, {}),
('meta-qt5', 20, 'git://github.com/meta-qt5/meta-qt5.git', {'branch': 'warrior', 'commit': '6310c5c'}, {}),
('meta-ros-common', 37, MetaRos_RepoURL, {'branch': MetaRos_Branch, 'commit': MetaRos_Commit}, {}),
('meta-ros2', 38, MetaRos_RepoURL, {}, {}),
('meta-ros2-foxy', 39, MetaRos_RepoURL, {}, {}),
('meta-webos', 40, MetaWebos_RepoURL, {'branch': MetaWebos_Branch, 'commit': MetaWebos_Commit}, {}),
('meta-raspberrypi', 50, 'git://git.yoctoproject.org/meta-raspberrypi', {'branch': 'master', 'commit': 'ffc402e'}, {}),
('meta-webos-raspberrypi', 51, MetaWebos_RepoURL, {}, {}),
('meta-webos-updater', 52, MetaWebos_RepoURL, {}, {}),
('meta-webos-virtualization', 53, MetaWebos_RepoURL, {}, {}),
('meta-ros-webos', 60, MetaRosWebos_RepoURL, {'branch': MetaRosWebos_Branch, 'commit': MetaRosWebos_Commit}, {}),
('meta-webos-smack', 75, MetaWebos_RepoURL, {}, {}),
('meta-security', 77, 'git://git.yoctoproject.org/meta-security', {'branch': 'master', 'commit': 'ab239f1'}, {}),
]
# BblayersConfExtraLines is a list of strings to be appended to the generated
# conf/bblayers.conf .
BblayersConfExtraLines = ['MCF_DISTRO ?= "' + Distribution + '"',
'MCF_SUPPORTED_MACHINES ?= "' + ' '.join(Machines) + '"',
'MCF_WEBOS_BUILD_NUMBER = "' + webOSOSEBuildNumber + '"',
]