blob: 3c2dd1ef6fc1a1e8153f13bcabe91e42bfa21b9f [file] [log] [blame]
Paul Fagerburgbab5dde2020-01-10 15:10:29 -07001# -*- coding: utf-8 -*-
2"""Define steps, package names, and directories for creating a Hatch variant
3
4Copyright 2020 The Chromium OS Authors. All rights reserved.
5Use of this source code is governed by a BSD-style license that can be
6found in the LICENSE file.
7"""
8
9from __future__ import print_function
10import step_names
11
12# List of steps (named in step_names.py) to run in sequence to create
13# the new variant of the baseboard
14step_list = [
15 step_names.CB_VARIANT,
16 step_names.CB_CONFIG,
17 step_names.ADD_FIT,
18 step_names.GEN_FIT,
19 step_names.COMMIT_FIT,
20 step_names.EC_IMAGE,
21 step_names.EC_BUILDALL,
22 step_names.ADD_YAML,
23 step_names.BUILD_YAML,
24 step_names.EMERGE,
25 step_names.PUSH,
26 step_names.UPLOAD,
27 step_names.FIND,
28 step_names.CQ_DEPEND,
29 step_names.CLEAN_UP]
30
31# Package name for FSP
32fsp = 'intel-cmlfsp'
33
34# Package name for the fitimage
35fitimage_pkg = 'coreboot-private-files-hatch'
36
37# Directory for fitimage; append '~/trunk/src/'' in chroot, '~/chromiumos/src' outside
38fitimage_dir = 'private-overlays/baseboard-hatch-private/sys-boot/coreboot-private-files-hatch'
39
40# List of packages to cros_workon
41workon_pkgs = ['coreboot', 'libpayload', 'vboot_reference', 'depthcharge', fsp,
42 fitimage_pkg, 'chromeos-ec', 'chromeos-config-bsp-hatch-private']
43
44# The emerge command
45emerge_cmd = 'emerge-hatch'
46
47# List of packages to emerge
48emerge_pkgs = ['coreboot', 'libpayload', 'vboot_reference', 'depthcharge', fsp,
49 fitimage_pkg, 'chromeos-ec', 'chromeos-config-bsp-hatch-private',
50 'chromeos-config', 'chromeos-config-bsp', 'chromeos-config-bsp-hatch',
51 'coreboot-private-files', fitimage_pkg, 'chromeos-bootimage']
52
53# List of packages to emerge just to build the yaml
54yaml_emerge_pkgs = ['chromeos-config-bsp', 'chromeos-config',
55 'chromeos-config-bsp-hatch', 'chromeos-config-bsp-hatch-private']
56
57# Directory for the private yaml file
58private_yaml_dir = '~/trunk/src/private-overlays/overlay-hatch-private/'\
59 'chromeos-base/chromeos-config-bsp-hatch-private'