]>
Commit | Line | Data |
---|---|---|
262b7a31 KM |
1 | ## @file\r |
2 | # Firmware Management Protocol Device Package\r | |
3 | #\r | |
4 | # This package provides an implementation of a Firmware Management Protocol\r | |
5 | # instance that supports the update of firmware storage devices using UEFI\r | |
6 | # Capsules. The behavior of the Firmware Management Protocol instance is\r | |
7 | # customized using libraries and PCDs.\r | |
8 | #\r | |
9 | # Copyright (c) 2016, Microsoft Corporation. All rights reserved.<BR>\r | |
10 | # Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>\r | |
11 | #\r | |
bcef758c | 12 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r |
262b7a31 KM |
13 | #\r |
14 | ##\r | |
15 | \r | |
16 | [Defines]\r | |
17 | PLATFORM_NAME = FmpDevicePkg\r | |
18 | PLATFORM_GUID = 0af3d540-27c6-11e8-828b-f8597177a00a\r | |
19 | PLATFORM_VERSION = 0.1\r | |
20 | DSC_SPECIFICATION = 0x00010005\r | |
21 | OUTPUT_DIRECTORY = Build/FmpDevicePkg\r | |
954175e5 | 22 | SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64\r |
e23366d3 | 23 | BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r |
262b7a31 KM |
24 | SKUID_IDENTIFIER = DEFAULT\r |
25 | \r | |
26 | #\r | |
27 | # Define ESRT GUIDs for Firmware Management Protocol instances\r | |
28 | #\r | |
ee48361c SZ |
29 | DEFINE SYSTEM_FMP_ESRT_GUID = B461B3BD-E62A-4A71-841C-50BA4E500267\r |
30 | DEFINE DEVICE_FMP_ESRT_GUID = 226034C4-8B67-4536-8653-D6EE7CE5A316\r | |
262b7a31 KM |
31 | \r |
32 | [LibraryClasses]\r | |
33 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r | |
262b7a31 KM |
34 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r |
35 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r | |
36 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r | |
262b7a31 KM |
37 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r |
38 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r | |
262b7a31 KM |
39 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r |
40 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r | |
262b7a31 KM |
41 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r |
42 | DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf\r | |
43 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r | |
262b7a31 | 44 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r |
262b7a31 KM |
45 | OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r |
46 | IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r | |
47 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r | |
48 | FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf\r | |
262b7a31 KM |
49 | CapsuleUpdatePolicyLib|FmpDevicePkg/Library/CapsuleUpdatePolicyLibNull/CapsuleUpdatePolicyLibNull.inf\r |
50 | FmpPayloadHeaderLib|FmpDevicePkg/Library/FmpPayloadHeaderLibV1/FmpPayloadHeaderLibV1.inf\r | |
51 | FmpDeviceLib|FmpDevicePkg/Library/FmpDeviceLibNull/FmpDeviceLibNull.inf\r | |
262b7a31 KM |
52 | \r |
53 | [LibraryClasses.ARM, LibraryClasses.AARCH64]\r | |
54 | #\r | |
55 | # It is not possible to prevent the ARM compiler for generic intrinsic functions.\r | |
56 | # This library provides the instrinsic functions generate by a given compiler.\r | |
57 | # [LibraryClasses.ARM, LibraryClasses.AARCH64] and NULL mean link this library\r | |
58 | # into all ARM and AARCH64 images.\r | |
59 | #\r | |
60 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r | |
61 | \r | |
62 | # Add support for stack protector\r | |
63 | NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r | |
64 | \r | |
65 | [LibraryClasses.ARM]\r | |
66 | ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf\r | |
67 | \r | |
68 | [Components]\r | |
69 | #\r | |
70 | # Libraries\r | |
71 | #\r | |
72 | FmpDevicePkg/Library/CapsuleUpdatePolicyLibNull/CapsuleUpdatePolicyLibNull.inf\r | |
73 | FmpDevicePkg/Library/FmpPayloadHeaderLibV1/FmpPayloadHeaderLibV1.inf\r | |
74 | FmpDevicePkg/Library/FmpDeviceLibNull/FmpDeviceLibNull.inf\r | |
75 | FmpDevicePkg/FmpDxe/FmpDxeLib.inf\r | |
76 | \r | |
77 | #\r | |
78 | # Modules\r | |
79 | #\r | |
80 | FmpDevicePkg/FmpDxe/FmpDxe.inf {\r | |
81 | <Defines>\r | |
82 | #\r | |
ee48361c | 83 | # FILE_GUID is used as ESRT GUID\r |
262b7a31 | 84 | #\r |
ee48361c | 85 | FILE_GUID = $(SYSTEM_FMP_ESRT_GUID)\r |
262b7a31 KM |
86 | }\r |
87 | \r | |
88 | FmpDevicePkg/FmpDxe/FmpDxe.inf {\r | |
89 | <Defines>\r | |
90 | #\r | |
91 | # FILE_GUID is used as ESRT GUID\r | |
92 | #\r | |
ee48361c | 93 | FILE_GUID = $(DEVICE_FMP_ESRT_GUID)\r |
262b7a31 | 94 | }\r |
4da45e20 SZ |
95 | \r |
96 | [BuildOptions]\r | |
97 | *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r |