From 3c166167257afa96e811abc5ddaf5606cd665c50 Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Thu, 6 Oct 2022 21:29:26 +0100 Subject: payloads/edk2: Guard the silent switch The silent switch, `-s`, only works for building UefiPayloadPkg. Guard it against the relevant Kconfig option so that it doesn't cause problems with other targets. Signed-off-by: Sean Rhodes Change-Id: I5a5df636e6484a435c849c6d19c7cb61e8e62ee6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68181 Reviewed-by: Lean Sheng Tan Tested-by: build bot (Jenkins) --- payloads/external/edk2/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'payloads/external/edk2') diff --git a/payloads/external/edk2/Makefile b/payloads/external/edk2/Makefile index 4a854c9b29..f9a48fb827 100644 --- a/payloads/external/edk2/Makefile +++ b/payloads/external/edk2/Makefile @@ -12,7 +12,10 @@ BUILD_STR = -p UefiPayloadPkg/UefiPayloadPkg.dsc BUILD_STR += -t COREBOOT BUILD_STR += -D BOOTLOADER=COREBOOT ifneq ($(CONFIG_EDK2_VERBOSE_BUILD),y) -BUILD_STR += -q -s +BUILD_STR += -q +ifeq ($(CONFIG_EDK2_UEFIPAYLOAD),y) +BUILD_STR += -s +endif endif # -- cgit v1.2.3