SignedCapsulePkg: Update EdkiiSystemCapsuleLib to check PCD value
[mirror_edk2.git] / SignedCapsulePkg / Library / EdkiiSystemCapsuleLib / EdkiiSystemCapsuleLib.inf
CommitLineData
e29caef2
JY
1## @file\r
2# EDKII System Capsule library.\r
3#\r
4# EDKII System Capsule library instance for DXE/PEI post memory phase.\r
5#\r
d8d5bcf5 6# Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>\r
e29caef2
JY
7# This program and the accompanying materials\r
8# are licensed and made available under the terms and conditions of the BSD License\r
9# which accompanies this distribution. The full text of the license may be found at\r
10# http://opensource.org/licenses/bsd-license.php\r
11#\r
12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14#\r
15##\r
16\r
17[Defines]\r
18 INF_VERSION = 0x00010005\r
19 BASE_NAME = EdkiiSystemCapsuleLib\r
20 MODULE_UNI_FILE = EdkiiSystemCapsuleLib.uni\r
21 FILE_GUID = 109D5FC6-56E6-481A-88EF-0CB828FBE0F6\r
22 MODULE_TYPE = BASE\r
23 VERSION_STRING = 1.0\r
24 LIBRARY_CLASS = EdkiiSystemCapsuleLib\r
25 CONSTRUCTOR = EdkiiSystemCapsuleLibConstructor\r
26\r
27#\r
28# The following information is for reference only and not required by the build tools.\r
29#\r
30# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
31#\r
32\r
33[Sources]\r
34 EdkiiSystemCapsuleLib.c\r
35\r
36[Packages]\r
37 MdePkg/MdePkg.dec\r
38 MdeModulePkg/MdeModulePkg.dec\r
39 SecurityPkg/SecurityPkg.dec\r
40 SignedCapsulePkg/SignedCapsulePkg.dec\r
41\r
42[LibraryClasses]\r
43 BaseLib\r
44 BaseMemoryLib\r
45 DebugLib\r
01ee04c4 46 PcdLib\r
e29caef2
JY
47 MemoryAllocationLib\r
48 FmpAuthenticationLib\r
49\r
50[Pcd]\r
e5279728
DB
51 gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareImageDescriptor ## CONSUMES\r
52 gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareFileGuid ## CONSUMES\r
53 gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer ## CONSUMES\r
54 gEfiSecurityPkgTokenSpaceGuid.PcdPkcs7CertBuffer ## CONSUMES\r
e29caef2
JY
55\r
56[Guids]\r
d8d5bcf5
LG
57 gEdkiiSystemFirmwareImageDescriptorFileGuid ## SOMETIMES_CONSUMES ## GUID\r
58 gEdkiiSystemFmpCapsuleConfigFileGuid ## SOMETIMES_CONSUMES ## GUID\r
59 gEdkiiSystemFmpCapsuleDriverFvFileGuid ## SOMETIMES_CONSUMES ## GUID\r
60 gEfiCertPkcs7Guid ## SOMETIMES_CONSUMES ## GUID\r
61 gEfiCertTypeRsa2048Sha256Guid ## SOMETIMES_CONSUMES ## GUID\r
01ee04c4
LG
62 gEfiSignedCapsulePkgTokenSpaceGuid ## SOMETIMES_CONSUMES ## GUID\r
63 gZeroGuid ## SOMETIMES_CONSUMES ## GUID\r
e29caef2 64\r