diff options
author | Liu, Zhiguang <Zhiguang.Liu@intel.com> | 2021-09-27 09:59:59 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-10-11 05:54:11 +0000 |
commit | 19ee56c4b33faa33078894a6c8495c81c660b8be (patch) | |
tree | 52705482917daa953fcc42e00b2a692b2397c47f /UefiPayloadPkg/UefiPayloadPkg.dsc | |
parent | 769e63999ff5c786d5aac1fd6dbfa4748fbccbc7 (diff) | |
download | edk2-19ee56c4b33faa33078894a6c8495c81c660b8be.tar.gz edk2-19ee56c4b33faa33078894a6c8495c81c660b8be.tar.bz2 edk2-19ee56c4b33faa33078894a6c8495c81c660b8be.zip |
UefiPayloadPkg: Add a macro to select the SecurityStubDxe driver.
The SecurityStubDxe driver may be provided by platform payload.
Cc: Guo Dong <guo.dong@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Benjamin You <benjamin.you@intel.com>
Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com>
Diffstat (limited to 'UefiPayloadPkg/UefiPayloadPkg.dsc')
-rw-r--r-- | UefiPayloadPkg/UefiPayloadPkg.dsc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPayloadPkg.dsc index 9319422efe..5aaae94eec 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.dsc +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc @@ -31,7 +31,7 @@ DEFINE RAM_DISK_ENABLE = FALSE
DEFINE SIO_BUS_ENABLE = FALSE
DEFINE UNIVERSAL_PAYLOAD = FALSE
-
+ DEFINE SECURITY_STUB_ENABLE = TRUE
#
# SBL: UEFI payload for Slim Bootloader
# COREBOOT: UEFI payload for coreboot
@@ -453,7 +453,9 @@ #
# Components that produce the architectural protocols
#
+!if $(SECURITY_STUB_ENABLE) == TRUE
MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
+!endif
UefiCpuPkg/CpuDxe/CpuDxe.inf
MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
MdeModulePkg/Application/UiApp/UiApp.inf {
|