diff --git a/payloads/external/tianocore/Kconfig b/payloads/external/tianocore/Kconfig index 72d060abc9..0f81eabbf5 100644 --- a/payloads/external/tianocore/Kconfig +++ b/payloads/external/tianocore/Kconfig @@ -210,15 +210,13 @@ 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 + edk2 has build options that are not modified by coreboot, and these can be + found in `UefiPayloadPkg/UefiPayloadPkg.dsc`. Forks may also support + additional build options that should have been upstreamed but have not. + + This option can support both macros `-D` and Pcds `--pcd`. endif diff --git a/payloads/external/tianocore/Makefile b/payloads/external/tianocore/Makefile index d3b88b82f4..7f6fe92897 100644 --- a/payloads/external/tianocore/Makefile +++ b/payloads/external/tianocore/Makefile @@ -106,11 +106,9 @@ endif # CONFIG_TIANOCORE_COREBOOTPAYLOAD 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