| 1 |
## SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
if PAYLOAD_DEPTHCHARGE |
| 4 |
|
| 5 |
choice |
| 6 |
prompt "Depthcharge version" |
| 7 |
|
| 8 |
config DEPTHCHARGE_STABLE |
| 9 |
bool "stable" |
| 10 |
help |
| 11 |
Latest stable version. |
| 12 |
|
| 13 |
config DEPTHCHARGE_MASTER |
| 14 |
bool "master" |
| 15 |
help |
| 16 |
Newest Depthcharge version. |
| 17 |
|
| 18 |
config DEPTHCHARGE_REVISION |
| 19 |
bool "git revision" |
| 20 |
help |
| 21 |
Select this option if you have a specific commit or branch that |
| 22 |
you want to use as the revision from which to build Depthcharge. |
| 23 |
|
| 24 |
You will be able to specify the name of a branch or a commit SHA |
| 25 |
later. |
| 26 |
|
| 27 |
endchoice |
| 28 |
|
| 29 |
config DEPTHCHARGE_REPO |
| 30 |
string "depthcharge repo site" |
| 31 |
default "https://chromium.googlesource.com/chromiumos/platform/depthcharge" |
| 32 |
help |
| 33 |
repo site |
| 34 |
|
| 35 |
config DEPTHCHARGE_BRANCH |
| 36 |
string "branch from the depthcharge repo" |
| 37 |
default "origin/main" |
| 38 |
help |
| 39 |
repo branch name |
| 40 |
|
| 41 |
config DEPTHCHARGE_REVISION_ID |
| 42 |
string "Insert a commit's SHA-1 or a branch name" |
| 43 |
depends on DEPTHCHARGE_REVISION |
| 44 |
default "origin/master" |
| 45 |
help |
| 46 |
The commit's SHA-1 or branch name of the revision to use. |
| 47 |
|
| 48 |
config PAYLOAD_FILE |
| 49 |
string |
| 50 |
default "payloads/external/depthcharge/depthcharge/build/depthcharge.elf" |
| 51 |
|
| 52 |
config MAINBOARD_DEPTHCHARGE |
| 53 |
string "" |
| 54 |
help |
| 55 |
Override BOARD setting for depthcharge |
| 56 |
|
| 57 |
config LP_DEFCONFIG_OVERRIDE |
| 58 |
bool "Use default libpayload config" |
| 59 |
help |
| 60 |
The Depthcharge makefile looks for a file config.<boardname> in the |
| 61 |
libpayload/configs directory. Say Y here to use the file defconfig |
| 62 |
instead. This is can be a convenience for development purposes, or |
| 63 |
if the defaults in defconfig are sufficient for your system. |
| 64 |
|
| 65 |
endif |