From 92da8a154fc0a1b0f42ab0ec4aee7dd2933f1a0a Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 21 Apr 2023 08:55:44 +0200 Subject: 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 --- OvmfPkg/IntelTdx/IntelTdxX64.dsc | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'OvmfPkg/IntelTdx') diff --git a/OvmfPkg/IntelTdx/IntelTdxX64.dsc b/OvmfPkg/IntelTdx/IntelTdxX64.dsc index f734409055..d4403f11a7 100644 --- a/OvmfPkg/IntelTdx/IntelTdxX64.dsc +++ b/OvmfPkg/IntelTdx/IntelTdxX64.dsc @@ -90,15 +90,6 @@ INTEL:*_*_*_CC_FLAGS = /D TDX_PEI_LESS_BOOT GCC:*_*_*_CC_FLAGS = -D TDX_PEI_LESS_BOOT - # - # 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 - [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER] GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000 @@ -387,6 +378,7 @@ gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|TRUE !endif !if $(SECURE_BOOT_ENABLE) == TRUE + gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootSupported|TRUE gEfiMdeModulePkgTokenSpaceGuid.PcdRequireSelfSignedPk|TRUE !endif -- cgit v1.2.3