payloads/external/edk2: Verbose builds with coreboot build-system
Rather than requiring another Kconfig symbol to be set, reuse the same `make V=1` command argument. This simplifies rebuilds with a single point of reference. Also, this means that coreboot doesn't have to be rebuilt due to Kconfig changes. Change-Id: I9eba86b234768641a215095b8657e9d07832b1b5 Signed-off-by: Benjamin Doron <benjamin.doron00@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/75185 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com> Reviewed-by: Sean Rhodes <sean@starlabs.systems> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
This commit is contained in:
parent
b8a0e64d78
commit
21af6b4431
|
@ -171,7 +171,6 @@ $(obj)/UEFIPAYLOAD.fd: $(DOTCONFIG)
|
|||
CONFIG_EDK2_PLATFORMS_TAG_OR_REV=$(CONFIG_EDK2_PLATFORMS_TAG_OR_REV) \
|
||||
CONFIG_EDK2_DEBUG=$(CONFIG_EDK2_DEBUG) \
|
||||
CONFIG_EDK2_RELEASE=$(CONFIG_EDK2_RELEASE) \
|
||||
CONFIG_EDK2_VERBOSE_BUILD=$(CONFIG_EDK2_VERBOSE_BUILD) \
|
||||
CONFIG_EDK2_BOOTSPLASH_FILE=$(CONFIG_EDK2_BOOTSPLASH_FILE) \
|
||||
CONFIG_EDK2_BOOT_MANAGER_ESCAPE=$(CONFIG_EDK2_BOOT_MANAGER_ESCAPE) \
|
||||
CONFIG_EDK2_BOOT_TIMEOUT=$(CONFIG_EDK2_BOOT_TIMEOUT) \
|
||||
|
|
|
@ -104,13 +104,6 @@ config EDK2_RELEASE
|
|||
|
||||
endchoice
|
||||
|
||||
config EDK2_VERBOSE_BUILD
|
||||
bool "Output verbose build log for troubleshooting build failures"
|
||||
help
|
||||
Switch off the `-q` (quiet) and `-s` (silent) build arguments which makes the
|
||||
build log extremely verbose. This can be used to troubleshoot failed builds
|
||||
which are usually down to missing tools or toolchain.
|
||||
|
||||
config EDK2_BOOTSPLASH_FILE
|
||||
string "edk2 Bootsplash path and filename"
|
||||
default "Documentation/coreboot_logo.bmp"
|
||||
|
|
|
@ -30,7 +30,7 @@ BUILD_STR = -p UefiPayloadPkg/UefiPayloadPkg.dsc
|
|||
endif
|
||||
BUILD_STR += -t COREBOOT
|
||||
BUILD_STR += -D BOOTLOADER=COREBOOT
|
||||
ifneq ($(CONFIG_EDK2_VERBOSE_BUILD),y)
|
||||
ifneq ($(V),1)
|
||||
BUILD_STR += -q
|
||||
ifeq ($(CONFIG_EDK2_UEFIPAYLOAD),y)
|
||||
BUILD_STR += -s
|
||||
|
|
Loading…
Reference in New Issue