payloads/tianocore: Allow custom build parameters
Currently, custom TianoCore builds are allowed, but those may need different parameters. Add a Kconfig option to specify additional parameters to be appended to build command. Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com> Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com> Change-Id: I025459ae94592103b4be0c68b422100b7c649d34 Reviewed-on: https://review.coreboot.org/c/coreboot/+/62497 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
This commit is contained in:
committed by
Felix Held
parent
7a21e53cbf
commit
ba08c4904d
11
payloads/external/tianocore/Kconfig
vendored
11
payloads/external/tianocore/Kconfig
vendored
@@ -186,4 +186,15 @@ config TIANOCORE_USE_8254_TIMER
|
||||
|
||||
endif
|
||||
|
||||
if TIANOCORE_CUSTOM
|
||||
|
||||
config TIANOCORE_CUSTOM_BUILD_PARAMS
|
||||
string "TianoCore additional custom build parameters"
|
||||
help
|
||||
Custom TianoCore forks may have different sets of parameters passed
|
||||
to build command. You may specify additional parameters to the custom
|
||||
TianoCore build
|
||||
|
||||
endif
|
||||
|
||||
endif
|
||||
|
6
payloads/external/tianocore/Makefile
vendored
6
payloads/external/tianocore/Makefile
vendored
@@ -82,6 +82,12 @@ endif
|
||||
|
||||
bootloader = $(word 8,$(subst /, ,$(BUILD_STR)))
|
||||
|
||||
ifeq ($(CONFIG_TIANOCORE_CUSTOM),y)
|
||||
ifneq ($(CONFIG_TIANOCORE_CUSTOM_BUILD_PARAMS),)
|
||||
BUILD_STR += $(CONFIG_TIANOCORE_CUSTOM_BUILD_PARAMS)
|
||||
endif
|
||||
endif
|
||||
|
||||
all: clean build
|
||||
|
||||
$(project_dir):
|
||||
|
Reference in New Issue
Block a user