ff79341a80
Add Kconfig options to use custom bootsplash file, dependent on using MrChromebox's stable branch, with help info conveying required file format. Adjust Makefile to copy the custom bootsplash and overwrite the default Logo.bmp file, handling both absolute and relative paths, and restore the original logo file after building so as to keep the working directory clean. Test: build with and without custom bootsplash, ensure correct bootsplash displayed Change-Id: I164f46777169801cff56633fd920bc81b7c8129a Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/31561 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
110 lines
3 KiB
Text
110 lines
3 KiB
Text
if PAYLOAD_TIANOCORE
|
|
|
|
config PAYLOAD_FILE
|
|
string "Tianocore binary"
|
|
default "payloads/external/tianocore/tianocore/Build/UEFIPAYLOAD.fd"
|
|
help
|
|
The result of a corebootPkg build
|
|
|
|
choice
|
|
prompt "Tianocore version"
|
|
default TIANOCORE_STABLE
|
|
help
|
|
Select which version of Tianocore to build (default is to build stable)
|
|
stable: MrChromebox's customized version of Tianocore which works on most
|
|
(all?) x86_64 devices
|
|
revision: use specific commit or branch to build Tianocore (specified by user)
|
|
|
|
config TIANOCORE_STABLE
|
|
bool "stable"
|
|
help
|
|
Select this option to build using MrChromebox's custom Tianocore tree
|
|
i.e. a version of Tianocore that builds without any errors and just works.
|
|
|
|
config TIANOCORE_REVISION
|
|
bool "git revision"
|
|
help
|
|
Select this option if you have a specific commit or branch
|
|
that you want to use from either MrChromebox's tree or upstream
|
|
EDK2 from which to build Tianocore.
|
|
|
|
You will be able to specify the name of a branch or a commit id
|
|
later.
|
|
|
|
endchoice
|
|
|
|
config TIANOCORE_REVISION_ID
|
|
string "Insert a commit's SHA-1 or a branch name"
|
|
depends on TIANOCORE_REVISION
|
|
default "upstream/master"
|
|
help
|
|
The commit's SHA-1 or branch name of the revision to use.
|
|
|
|
choice
|
|
prompt "Target architecture"
|
|
default TIANOCORE_TARGET_X64
|
|
help
|
|
The Tianocore coreboot Payload Package binary can be
|
|
built for either only IA32 or both X64 and IA32 architectures.
|
|
Select which architecture(s) to build for; default is to build
|
|
for both X64 and IA32.
|
|
|
|
config TIANOCORE_TARGET_IA32
|
|
bool "IA32"
|
|
help
|
|
By selecting this option, the target architecture will be built
|
|
for only IA32.
|
|
|
|
config TIANOCORE_TARGET_X64
|
|
bool "X64"
|
|
help
|
|
By selecting this option, the target architecture will be built
|
|
for X64 and IA32.
|
|
|
|
endchoice
|
|
|
|
choice
|
|
prompt "Tianocore build"
|
|
default TIANOCORE_RELEASE
|
|
help
|
|
Select whether to generate a debug or release build for
|
|
Tianocore; default is to generate a release build.
|
|
|
|
config TIANOCORE_DEBUG
|
|
bool "Generate Tianocore debug build"
|
|
help
|
|
Generate a debug build.
|
|
|
|
config TIANOCORE_RELEASE
|
|
bool "Generate Tianocore release build"
|
|
help
|
|
Generate a release build.
|
|
|
|
endchoice
|
|
|
|
config TIANOCORE_USE_8254_TIMER
|
|
bool "TianoCore 8254 Timer"
|
|
help
|
|
Use 8254 Timer for legacy support.
|
|
|
|
config TIANOCORE_BOOTSPLASH_IMAGE
|
|
bool "Use a custom bootsplash image"
|
|
depends on TIANOCORE_STABLE
|
|
help
|
|
Select this option if you have a bootsplash image that you would
|
|
like to be used. If this option is not selected, the default
|
|
coreboot logo (European Brown Hare) will used.
|
|
|
|
config TIANOCORE_BOOTSPLASH_FILE
|
|
string "Tianocore Bootsplash path and filename"
|
|
depends on TIANOCORE_BOOTSPLASH_IMAGE
|
|
default "bootsplash.bmp"
|
|
help
|
|
The path and filename of the file to use as graphical bootsplash
|
|
screen. The file format must be uncompressed BMP, and the file's
|
|
resolution must be less than the native resolution of the display.
|
|
|
|
If an absolute path is not given, the path will assumed to be
|
|
relative to the coreboot root directory.
|
|
|
|
endif
|