]> git.proxmox.com Git - mirror_edk2.git/blob - FmpDevicePkg/FmpDevicePkg.dsc
CryptoPkg/OpensslLib: fix VS2017 build failure
[mirror_edk2.git] / FmpDevicePkg / FmpDevicePkg.dsc
1 ## @file
2 # Firmware Management Protocol Device Package
3 #
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.
8 #
9 # Copyright (c) 2016, Microsoft Corporation. All rights reserved.<BR>
10 # Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
11 #
12 # SPDX-License-Identifier: BSD-2-Clause-Patent
13 #
14 ##
15
16 [Defines]
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
25
26 #
27 # Define ESRT GUIDs for Firmware Management Protocol instances
28 #
29 DEFINE SYSTEM_FMP_ESRT_GUID = B461B3BD-E62A-4A71-841C-50BA4E500267
30 DEFINE DEVICE_FMP_ESRT_GUID = 226034C4-8B67-4536-8653-D6EE7CE5A316
31
32 [LibraryClasses]
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
53
54 [LibraryClasses.ARM, LibraryClasses.AARCH64]
55 #
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.
60 #
61 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
62
63 # Add support for stack protector
64 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
65
66 [LibraryClasses.ARM]
67 ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
68
69 [Components]
70 #
71 # Libraries
72 #
73 FmpDevicePkg/Library/CapsuleUpdatePolicyLibNull/CapsuleUpdatePolicyLibNull.inf
74 FmpDevicePkg/Library/FmpPayloadHeaderLibV1/FmpPayloadHeaderLibV1.inf
75 FmpDevicePkg/Library/FmpDeviceLibNull/FmpDeviceLibNull.inf
76 FmpDevicePkg/FmpDxe/FmpDxeLib.inf
77
78 #
79 # Modules
80 #
81 FmpDevicePkg/FmpDxe/FmpDxe.inf {
82 <Defines>
83 #
84 # FILE_GUID is used as ESRT GUID
85 #
86 FILE_GUID = $(SYSTEM_FMP_ESRT_GUID)
87 }
88
89 FmpDevicePkg/FmpDxe/FmpDxe.inf {
90 <Defines>
91 #
92 # FILE_GUID is used as ESRT GUID
93 #
94 FILE_GUID = $(DEVICE_FMP_ESRT_GUID)
95 }
96
97 [BuildOptions]
98 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES