diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2023-04-21 08:55:44 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-05-04 14:26:58 +0000 |
commit | 92da8a154fc0a1b0f42ab0ec4aee7dd2933f1a0a (patch) | |
tree | 797e6302d85642bb3c75330eff1b4c74c5405a59 /OvmfPkg/CloudHv | |
parent | a818a873e5381726c16470fa452d76fbbd5b200e (diff) | |
download | edk2-92da8a154fc0a1b0f42ab0ec4aee7dd2933f1a0a.zip edk2-92da8a154fc0a1b0f42ab0ec4aee7dd2933f1a0a.tar.gz edk2-92da8a154fc0a1b0f42ab0ec4aee7dd2933f1a0a.tar.bz2 |
OvmfPkg: replace SECURE_BOOT_FEATURE_ENABLED with PcdSecureBootSupported
Drop the '-D SECURE_BOOT_FEATURE_ENABLED' compile time option,
use a new FeaturePcd instead.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'OvmfPkg/CloudHv')
-rw-r--r-- | OvmfPkg/CloudHv/CloudHvX64.dsc | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/OvmfPkg/CloudHv/CloudHvX64.dsc b/OvmfPkg/CloudHv/CloudHvX64.dsc index cc2dd92..2a1139d 100644 --- a/OvmfPkg/CloudHv/CloudHvX64.dsc +++ b/OvmfPkg/CloudHv/CloudHvX64.dsc @@ -93,15 +93,6 @@ INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
- #
- # SECURE_BOOT_FEATURE_ENABLED
- #
-!if $(SECURE_BOOT_ENABLE) == TRUE
- MSFT:*_*_*_CC_FLAGS = /D SECURE_BOOT_FEATURE_ENABLED
- INTEL:*_*_*_CC_FLAGS = /D SECURE_BOOT_FEATURE_ENABLED
- GCC:*_*_*_CC_FLAGS = -D SECURE_BOOT_FEATURE_ENABLED
-!endif
-
!include NetworkPkg/NetworkBuildOptions.dsc.inc
[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
@@ -477,6 +468,7 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache|FALSE
!endif
!if $(SECURE_BOOT_ENABLE) == TRUE
+ gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootSupported|TRUE
gEfiMdeModulePkgTokenSpaceGuid.PcdRequireSelfSignedPk|TRUE
!endif
|