2 # Firmware Management Protocol Device Package
4 # This package provides an implementation of a Firmware Management Protocol
5 # instance that supports the update of firmware storage devices using UEFI
6 # Capsules. The behavior of the Firmware Management Protocol instance is
7 # customized using libraries and PCDs.
9 # Copyright (c) 2016, Microsoft Corporation. All rights reserved.<BR>
10 # Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
12 # SPDX-License-Identifier: BSD-2-Clause-Patent
17 PLATFORM_NAME = FmpDevicePkg
18 PLATFORM_GUID = 0af3d540-27c6-11e8-828b-f8597177a00a
19 PLATFORM_VERSION = 0.1
20 DSC_SPECIFICATION = 0x00010005
21 OUTPUT_DIRECTORY = Build/FmpDevicePkg
22 SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64
23 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
24 SKUID_IDENTIFIER = DEFAULT
27 # Define ESRT GUIDs for Firmware Management Protocol instances
29 DEFINE SYSTEM_FMP_ESRT_GUID = B461B3BD-E62A-4A71-841C-50BA4E500267
30 DEFINE DEVICE_FMP_ESRT_GUID = 226034C4-8B67-4536-8653-D6EE7CE5A316
33 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
34 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
35 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
36 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
37 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
38 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
39 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
40 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
41 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
42 DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf
43 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
44 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
45 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
46 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
47 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
48 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
49 CapsuleUpdatePolicyLib|FmpDevicePkg/Library/CapsuleUpdatePolicyLibNull/CapsuleUpdatePolicyLibNull.inf
50 FmpPayloadHeaderLib|FmpDevicePkg/Library/FmpPayloadHeaderLibV1/FmpPayloadHeaderLibV1.inf
51 FmpDeviceLib|FmpDevicePkg/Library/FmpDeviceLibNull/FmpDeviceLibNull.inf
52 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
54 [LibraryClasses.ARM, LibraryClasses.AARCH64]
56 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
57 # This library provides the instrinsic functions generate by a given compiler.
58 # [LibraryClasses.ARM, LibraryClasses.AARCH64] and NULL mean link this library
59 # into all ARM and AARCH64 images.
61 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
63 # Add support for stack protector
64 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
67 ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
73 FmpDevicePkg/Library/CapsuleUpdatePolicyLibNull/CapsuleUpdatePolicyLibNull.inf
74 FmpDevicePkg/Library/FmpPayloadHeaderLibV1/FmpPayloadHeaderLibV1.inf
75 FmpDevicePkg/Library/FmpDeviceLibNull/FmpDeviceLibNull.inf
76 FmpDevicePkg/FmpDxe/FmpDxeLib.inf
81 FmpDevicePkg/FmpDxe/FmpDxe.inf {
84 # FILE_GUID is used as ESRT GUID
86 FILE_GUID = $(SYSTEM_FMP_ESRT_GUID)
89 FmpDevicePkg/FmpDxe/FmpDxe.inf {
92 # FILE_GUID is used as ESRT GUID
94 FILE_GUID = $(DEVICE_FMP_ESRT_GUID)
98 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES