summaryrefslogtreecommitdiff
path: root/payloads/external/edk2
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2022-10-06 21:29:26 +0100
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-10-10 21:44:26 +0000
commit3c166167257afa96e811abc5ddaf5606cd665c50 (patch)
treedf7cd9f155cdc48bf736acde85146e7c5f9f977f /payloads/external/edk2
parent743c1c089415ce2465e31f1a9e4067c653336e9c (diff)
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 <sean@starlabs.systems> Change-Id: I5a5df636e6484a435c849c6d19c7cb61e8e62ee6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68181 Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'payloads/external/edk2')
-rw-r--r--payloads/external/edk2/Makefile5
1 files changed, 4 insertions, 1 deletions
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
#