blob: 6902944c5a865fa60e70b34005cb2b2ee71e0195 [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
Paul Fagerburge868e832020-01-22 17:14:04 -070012# Name of the baseboard
13base = 'hatch'
14
Paul Fagerburgbab5dde2020-01-10 15:10:29 -070015# List of steps (named in step_names.py) to run in sequence to create
16# the new variant of the baseboard
17step_list = [
18 step_names.CB_VARIANT,
19 step_names.CB_CONFIG,
20 step_names.ADD_FIT,
21 step_names.GEN_FIT,
22 step_names.COMMIT_FIT,
23 step_names.EC_IMAGE,
24 step_names.EC_BUILDALL,
25 step_names.ADD_YAML,
26 step_names.BUILD_YAML,
27 step_names.EMERGE,
28 step_names.PUSH,
29 step_names.UPLOAD,
30 step_names.FIND,
31 step_names.CQ_DEPEND,
32 step_names.CLEAN_UP]
33
34# Package name for FSP
35fsp = 'intel-cmlfsp'
36
37# Package name for the fitimage
38fitimage_pkg = 'coreboot-private-files-hatch'
39
40# Directory for fitimage; append '~/trunk/src/'' in chroot, '~/chromiumos/src' outside
41fitimage_dir = 'private-overlays/baseboard-hatch-private/sys-boot/coreboot-private-files-hatch'
42
43# List of packages to cros_workon
44workon_pkgs = ['coreboot', 'libpayload', 'vboot_reference', 'depthcharge', fsp,
45 fitimage_pkg, 'chromeos-ec', 'chromeos-config-bsp-hatch-private']
46
47# The emerge command
48emerge_cmd = 'emerge-hatch'
49
50# List of packages to emerge
51emerge_pkgs = ['coreboot', 'libpayload', 'vboot_reference', 'depthcharge', fsp,
52 fitimage_pkg, 'chromeos-ec', 'chromeos-config-bsp-hatch-private',
53 'chromeos-config', 'chromeos-config-bsp', 'chromeos-config-bsp-hatch',
54 'coreboot-private-files', fitimage_pkg, 'chromeos-bootimage']
55
56# List of packages to emerge just to build the yaml
57yaml_emerge_pkgs = ['chromeos-config-bsp', 'chromeos-config',
58 'chromeos-config-bsp-hatch', 'chromeos-config-bsp-hatch-private']
59
60# Directory for the private yaml file
61private_yaml_dir = '~/trunk/src/private-overlays/overlay-hatch-private/'\
62 'chromeos-base/chromeos-config-bsp-hatch-private'