diff options
author | Michał Żygowski <michal.zygowski@3mdeb.com> | 2022-02-23 16:55:24 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-06-09 16:58:39 +0000 |
commit | ba08c4904da084aac5042de6c22f7792d7023b10 (patch) | |
tree | 8fb343b2e048cd2827683c93b5b8ceaaf8d37e85 /payloads/external/tianocore/Makefile | |
parent | 7a21e53cbf145ef0b3f86597013ba8967a8fed6e (diff) |
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>
Diffstat (limited to 'payloads/external/tianocore/Makefile')
-rw-r--r-- | payloads/external/tianocore/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/payloads/external/tianocore/Makefile b/payloads/external/tianocore/Makefile index e60a27938a..da61470a17 100644 --- a/payloads/external/tianocore/Makefile +++ b/payloads/external/tianocore/Makefile @@ -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): |