payloads/tianocore: Add option to include EFI Shell
Add TIANOCORE_HAVE_EFI_SHELL, which when enabled, will build edk2 with the EFI Shell binary. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I1272f514e3f5becfe1fddd58ca0d820c5d1c1b54 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61759 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
14d67b3515
commit
f33ddb3959
|
@ -153,6 +153,7 @@ $(obj)/UEFIPAYLOAD.fd tianocore: $(DOTCONFIG)
|
||||||
CONFIG_TIANOCORE_BOOT_TIMEOUT=$(CONFIG_TIANOCORE_BOOT_TIMEOUT) \
|
CONFIG_TIANOCORE_BOOT_TIMEOUT=$(CONFIG_TIANOCORE_BOOT_TIMEOUT) \
|
||||||
CONFIG_TIANOCORE_CBMEM_LOGGING=$(CONFIG_TIANOCORE_CBMEM_LOGGING) \
|
CONFIG_TIANOCORE_CBMEM_LOGGING=$(CONFIG_TIANOCORE_CBMEM_LOGGING) \
|
||||||
CONFIG_TIANOCORE_FOLLOW_BGRT_SPEC=$(CONFIG_TIANOCORE_FOLLOW_BGRT_SPEC) \
|
CONFIG_TIANOCORE_FOLLOW_BGRT_SPEC=$(CONFIG_TIANOCORE_FOLLOW_BGRT_SPEC) \
|
||||||
|
CONFIG_TIANOCORE_HAVE_EFI_SHELL=$(CONFIG_TIANOCORE_HAVE_EFI_SHELL) \
|
||||||
CONFIG_TIANOCORE_USE_8254_TIMER=$(CONFIG_TIANOCORE_USE_8254_TIMER) \
|
CONFIG_TIANOCORE_USE_8254_TIMER=$(CONFIG_TIANOCORE_USE_8254_TIMER) \
|
||||||
CONFIG_ECAM_MMCONF_BASE_ADDRESS=$(CONFIG_ECAM_MMCONF_BASE_ADDRESS) \
|
CONFIG_ECAM_MMCONF_BASE_ADDRESS=$(CONFIG_ECAM_MMCONF_BASE_ADDRESS) \
|
||||||
GCC_CC_x86_32=$(GCC_CC_x86_32) \
|
GCC_CC_x86_32=$(GCC_CC_x86_32) \
|
||||||
|
|
|
@ -147,8 +147,14 @@ config TIANOCORE_FOLLOW_BGRT_SPEC
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Follow the BGRT Specification implemented by Microsoft and
|
Follow the BGRT Specification implemented by Microsoft and
|
||||||
the Boot Logo will be vertically centered 38.2% from the
|
the Boot Logo 38.2% will be vertically centered 38.2% from
|
||||||
top of the display.
|
the top of the display.
|
||||||
|
|
||||||
|
config TIANOCORE_HAVE_EFI_SHELL
|
||||||
|
bool "Include EFI Shell"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
Include the EFI shell Binary
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -43,6 +43,9 @@ endif
|
||||||
# PLATFORM_BOOT_TIMEOUT = 3
|
# PLATFORM_BOOT_TIMEOUT = 3
|
||||||
ifneq ($(TIANOCORE_BOOT_TIMEOUT),)
|
ifneq ($(TIANOCORE_BOOT_TIMEOUT),)
|
||||||
BUILD_STR += -D PLATFORM_BOOT_TIMEOUT=$(CONFIG_TIANOCORE_BOOT_TIMEOUT)
|
BUILD_STR += -D PLATFORM_BOOT_TIMEOUT=$(CONFIG_TIANOCORE_BOOT_TIMEOUT)
|
||||||
|
# SHELL_TYPE = BUILD_SHELL
|
||||||
|
ifneq ($(CONFIG_TIANOCORE_HAVE_EFI_SHELL),y)
|
||||||
|
BUILD_STR += -D SHELL_TYPE=NONE
|
||||||
endif
|
endif
|
||||||
# USE_CBMEM_FOR_CONSOLE = FALSE
|
# USE_CBMEM_FOR_CONSOLE = FALSE
|
||||||
ifeq ($(CONFIG_TIANOCORE_CBMEM_LOGGING),y)
|
ifeq ($(CONFIG_TIANOCORE_CBMEM_LOGGING),y)
|
||||||
|
|
Loading…
Reference in New Issue