[edk2-platforms][PATCH v5 2/4] U5SeriesPkg: Platform Build: Resolving newly introduced dependency


Kun Qin
 

The new changes in SecureBootVariableLib brought in a new dependency
of PlatformPKProtectionLib.

This change added the new library instance from SecurityPkg to resolve
U5SeriesPkg platforms build.

Cc: Abner Chang <abner.chang@...>
Cc: Gilbert Chen <gilbert.chen@...>
Cc: Daniel Schaefer <daniel.schaefer@...>

Signed-off-by: Kun Qin <kuqin12@...>
Reviewed-by: Daniel Schaefer <daniel.schaefer@...>
---

Notes:
v2:
- No review, no change
=20=20=20=20
v4:
- Updated commit title.
=20=20=20=20
v5:
- Added reviewed-by tag. [Daniel]

Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc | 1 +
Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc | 1 +
2 files changed, 2 insertions(+)

diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc b/P=
latform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc
index 7b36b2c885e0..fc1ed012a541 100644
--- a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc
+++ b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc
@@ -127,6 +127,7 @@ [LibraryClasses]
AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf=
=0D
SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBo=
otVariableLib.inf=0D
SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariablePro=
visionLib/SecureBootVariableProvisionLib.inf=0D
+ PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPo=
licy/PlatformPKProtectionLibVarPolicy.inf=0D
!else=0D
TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurem=
entLibNull.inf=0D
AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLib=
Null.inf=0D
diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U5=
40.dsc b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.d=
sc
index 26895a75ec2f..e59955d09452 100644
--- a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc
+++ b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc
@@ -127,6 +127,7 @@ [LibraryClasses]
AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf=
=0D
SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBo=
otVariableLib.inf=0D
SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariablePro=
visionLib/SecureBootVariableProvisionLib.inf=0D
+ PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPo=
licy/PlatformPKProtectionLibVarPolicy.inf=0D
!else=0D
TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurem=
entLibNull.inf=0D
AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLib=
Null.inf=0D
--=20
2.37.1.windows.1