blob: 76217fe6b829c6c51be8500f3964a5dfba1df805 [file] [log] [blame]
Paul Fagerburgbab5dde2020-01-10 15:10:29 -07001# -*- coding: utf-8 -*-
2"""Define steps, package names, and directories for creating a Volteer 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 = 'volteer'
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 # TODO(b/147483696)
20 # step_names.CB_CONFIG,
21 step_names.ADD_FIT,
22 step_names.GEN_FIT,
23 step_names.COMMIT_FIT,
24 step_names.EC_IMAGE,
25 step_names.EC_BUILDALL,
26 step_names.ADD_YAML,
27 step_names.BUILD_YAML,
28 step_names.EMERGE,
29 step_names.PUSH,
30 step_names.UPLOAD,
31 step_names.FIND,
32 step_names.CQ_DEPEND,
33 step_names.CLEAN_UP]
34
35# Package name for FSP
36fsp = 'intel-tglfsp'
37
38# Package name for the fitimage
39fitimage_pkg = 'coreboot-private-files-baseboard-volteer'
40
41# Directory for fitimage; append '~/trunk/src/'' in chroot, '~/chromiumos/src' outside
42fitimage_dir = 'private-overlays/baseboard-volteer-private/sys-boot/'\
43 'coreboot-private-files-baseboard-volteer'
44
Paul Fagerburg55dabf42020-01-27 15:30:09 -070045# Explanation of gen_fit_image command
46fitimage_cmd = './gen_fit_image.sh %s <path_to_fit_kit> <path_to_inputs_folder> [-b]'
47
Paul Fagerburgbab5dde2020-01-10 15:10:29 -070048# List of packages to cros_workon
49workon_pkgs = ['coreboot', 'libpayload', 'vboot_reference', 'depthcharge', fsp,
50 fitimage_pkg, 'chromeos-ec', 'chromeos-config-bsp-volteer-private']
51
52# The emerge command
53emerge_cmd = 'emerge-volteer'
54
55# List of packages to emerge
56emerge_pkgs = ['coreboot', 'libpayload', 'vboot_reference', 'depthcharge', fsp,
57 fitimage_pkg, 'chromeos-ec', 'chromeos-config-bsp-volteer-private',
58 'chromeos-config', 'chromeos-config-bsp', 'chromeos-config-bsp-volteer',
59 'coreboot-private-files', fitimage_pkg, 'chromeos-bootimage']
60
61# List of packages to emerge just to build the yaml
62yaml_emerge_pkgs = ['chromeos-config-bsp', 'chromeos-config',
63 'chromeos-config-bsp-volteer', 'chromeos-config-bsp-volteer-private']
64
65# Directory for the private yaml file
66private_yaml_dir = '~/trunk/src/private-overlays/overlay-volteer-private/'\
67 'chromeos-base/chromeos-config-bsp-volteer-private'