diff options
author | Sean Rhodes <sean@starlabs.systems> | 2022-07-27 21:41:54 +0100 |
---|---|---|
committer | Martin L Roth <gaumless@tutanota.com> | 2022-07-30 18:40:58 +0000 |
commit | c5055883eb9f57145ca8c63e50a9fbc314f6616a (patch) | |
tree | 3a1e8bbb6d8a9ed5f4c1661995bfc9af9ef90d8b /payloads/external | |
parent | 85c9a7320f36a9b67fbc79aa19fad333c3e77ef0 (diff) |
payloads/tianocore: Allow passing custom build params to all versions
Allow passing custom build parameters to any version of edk2, not
just forks.
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Change-Id: I4eed535415ba15ae73e22cada9153820538f5f6d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66210
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Diffstat (limited to 'payloads/external')
-rw-r--r-- | payloads/external/tianocore/Kconfig | 10 | ||||
-rw-r--r-- | payloads/external/tianocore/Makefile | 2 |
2 files changed, 4 insertions, 8 deletions
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 + 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. -endif + 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 |