FmpDevicePkg.dsc 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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. [Defines]
  16. PLATFORM_NAME = FmpDevicePkg
  17. PLATFORM_GUID = 0af3d540-27c6-11e8-828b-f8597177a00a
  18. PLATFORM_VERSION = 0.1
  19. DSC_SPECIFICATION = 0x00010005
  20. OUTPUT_DIRECTORY = Build/FmpDevicePkg
  21. SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64
  22. BUILD_TARGETS = DEBUG|RELEASE|NOOPT
  23. SKUID_IDENTIFIER = DEFAULT
  24. #
  25. # Define ESRT GUIDs for Firmware Management Protocol instances
  26. #
  27. DEFINE SYSTEM_FMP_ESRT_GUID = B461B3BD-E62A-4A71-841C-50BA4E500267
  28. DEFINE DEVICE_FMP_ESRT_GUID = 226034C4-8B67-4536-8653-D6EE7CE5A316
  29. [LibraryClasses]
  30. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  31. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  32. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  33. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  34. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  35. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  36. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  37. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  38. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  39. DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf
  40. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  41. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  42. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  43. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  44. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  45. FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
  46. CapsuleUpdatePolicyLib|FmpDevicePkg/Library/CapsuleUpdatePolicyLibNull/CapsuleUpdatePolicyLibNull.inf
  47. FmpPayloadHeaderLib|FmpDevicePkg/Library/FmpPayloadHeaderLibV1/FmpPayloadHeaderLibV1.inf
  48. FmpDeviceLib|FmpDevicePkg/Library/FmpDeviceLibNull/FmpDeviceLibNull.inf
  49. [LibraryClasses.ARM, LibraryClasses.AARCH64]
  50. #
  51. # It is not possible to prevent the ARM compiler for generic intrinsic functions.
  52. # This library provides the instrinsic functions generate by a given compiler.
  53. # [LibraryClasses.ARM, LibraryClasses.AARCH64] and NULL mean link this library
  54. # into all ARM and AARCH64 images.
  55. #
  56. NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
  57. # Add support for stack protector
  58. NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
  59. [LibraryClasses.ARM]
  60. ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
  61. [Components]
  62. #
  63. # Libraries
  64. #
  65. FmpDevicePkg/Library/CapsuleUpdatePolicyLibNull/CapsuleUpdatePolicyLibNull.inf
  66. FmpDevicePkg/Library/FmpPayloadHeaderLibV1/FmpPayloadHeaderLibV1.inf
  67. FmpDevicePkg/Library/FmpDeviceLibNull/FmpDeviceLibNull.inf
  68. FmpDevicePkg/FmpDxe/FmpDxeLib.inf
  69. #
  70. # Modules
  71. #
  72. FmpDevicePkg/FmpDxe/FmpDxe.inf {
  73. <Defines>
  74. #
  75. # FILE_GUID is used as ESRT GUID
  76. #
  77. FILE_GUID = $(SYSTEM_FMP_ESRT_GUID)
  78. }
  79. FmpDevicePkg/FmpDxe/FmpDxe.inf {
  80. <Defines>
  81. #
  82. # FILE_GUID is used as ESRT GUID
  83. #
  84. FILE_GUID = $(DEVICE_FMP_ESRT_GUID)
  85. }
  86. [BuildOptions]
  87. *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES