coreboot-kgpe-d16/payloads/external/depthcharge/Kconfig
Marshall Dawson fc18507134 payloads/depthcharge: Allow generic libpayload config
Change depthcharge to not require a board-specific config file for
libpayload.  If the Kconfig option is selected, use the settings
in libpayload/configs/defconfig instead.

Change-Id: I4fd1a5915472f28e757c62f3f2415716f1fdfc71
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/18271
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
2017-02-01 21:14:29 +01:00

46 lines
1.1 KiB
Text

if PAYLOAD_DEPTHCHARGE
choice
prompt "Depthcharge version"
config DEPTHCHARGE_STABLE
bool "stable"
help
Latest stable version.
config DEPTHCHARGE_MASTER
bool "master"
help
Newest Depthcharge version.
config DEPTHCHARGE_REVISION
bool "git revision"
help
Select this option if you have a specific commit or branch that
you want to use as the revision from which to build Depthcharge.
You will be able to specify the name of a branch or a commit SHA
later.
endchoice
config DEPTHCHARGE_REVISION_ID
string "Insert a commit's SHA-1 or a branch name"
depends on DEPTHCHARGE_REVISION
default "origin/master"
help
The commit's SHA-1 or branch name of the revision to use.
config PAYLOAD_FILE
string
default "payloads/external/depthcharge/depthcharge/build/depthcharge.elf"
config LP_DEFCONFIG_OVERRIDE
def_bool n
help
The Depthcharge makefile looks for a file config.<boardname> in the
libpayload/configs directory. Say Y here to use the file defconfig
instead. This is can be a convenience for development purposes, or
if the defaults in defconfig are sufficient for your system.
endif