summaryrefslogtreecommitdiff
path: root/payloads/external/tianocore
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/external/tianocore')
-rw-r--r--payloads/external/tianocore/Kconfig11
-rw-r--r--payloads/external/tianocore/Makefile6
2 files changed, 17 insertions, 0 deletions
diff --git a/payloads/external/tianocore/Kconfig b/payloads/external/tianocore/Kconfig
index 2cfe9ce4f3..98ed6a89d0 100644
--- a/payloads/external/tianocore/Kconfig
+++ b/payloads/external/tianocore/Kconfig
@@ -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
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):