summaryrefslogtreecommitdiff
path: root/payloads/external/edk2/Kconfig
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2023-09-20 21:24:24 +0100
committerMartin L Roth <gaumless@gmail.com>2023-09-26 16:32:10 +0000
commit9031877866fd528f1d1624f0462aeb681e68b576 (patch)
tree61410d2aecc18027c7c83d138e498260873569e3 /payloads/external/edk2/Kconfig
parent1a0c99f55d57f0aeec69d1cd2ffa134a7a9ff255 (diff)
payloads/edk2: Guard MrChromebox's build options
Several of the build commands passed by the Makefile only exist in MrChromebox's fork of edk2. Guard these, and the corresponding Kconfig options, against the selection of the MrChromebox repository. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I41d8d54e5b91990dd9fb88967fcd549a86cf6fe9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/78036 Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'payloads/external/edk2/Kconfig')
-rw-r--r--payloads/external/edk2/Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/payloads/external/edk2/Kconfig b/payloads/external/edk2/Kconfig
index 6fdb26472a..cd5b2f614a 100644
--- a/payloads/external/edk2/Kconfig
+++ b/payloads/external/edk2/Kconfig
@@ -207,6 +207,7 @@ config EDK2_CPU_TIMER_LIB
config EDK2_FOLLOW_BGRT_SPEC
bool "Center logo 38.2% from the top of screen"
+ depends on EDK2_REPO_MRCHROMEBOX
default n
help
Follow the BGRT Specification implemented by Microsoft and
@@ -229,6 +230,7 @@ config EDK2_HAVE_EFI_SHELL
config EDK2_PRIORITIZE_INTERNAL
bool "Prioritize internal boot devices"
+ depends on EDK2_REPO_MRCHROMEBOX
default y
help
Prioritize internal boot devices over external devices
@@ -264,7 +266,7 @@ config EDK2_SECURE_BOOT_SUPPORT
config EDK2_GOP_DRIVER
bool "Add a GOP driver to the Tianocore build"
- depends on INTEL_GMA_ADD_VBT && NO_GFX_INIT && (EDK2_REPO_MRCHROMEBOX || EDK2_REPO_CUSTOM)
+ depends on INTEL_GMA_ADD_VBT && NO_GFX_INIT && EDK2_REPO_MRCHROMEBOX
default y if INTEL_GMA_ADD_VBT && NO_GFX_INIT && EDK2_REPO_MRCHROMEBOX
help
Select this option to have edk2 use an external GOP driver for display init.