payloads/edk2: Guard the silent switch
commit3c166167257afa96e811abc5ddaf5606cd665c50
authorSean Rhodes <sean@starlabs.systems>
Thu, 6 Oct 2022 20:29:26 +0000 (6 21:29 +0100)
committerMartin Roth <martin.roth@amd.corp-partner.google.com>
Mon, 10 Oct 2022 21:44:26 +0000 (10 21:44 +0000)
treedf7cd9f155cdc48bf736acde85146e7c5f9f977f
parent743c1c089415ce2465e31f1a9e4067c653336e9c
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>
payloads/external/edk2/Makefile