UserAuthFeature.dsc 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. ## @file
  2. # This is a build description file for the User Authentication advanced feature.
  3. # This file should be included into another package DSC file to build this feature.
  4. #
  5. # The DEC files are used by the utilities that parse DSC and
  6. # INF files to generate AutoGen.c and AutoGen.h files
  7. # for the build infrastructure.
  8. #
  9. # Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
  10. #
  11. # SPDX-License-Identifier: BSD-2-Clause-Patent
  12. #
  13. ##
  14. ################################################################################
  15. #
  16. # Defines Section - statements that will be processed to create a Makefile.
  17. #
  18. ################################################################################
  19. [Defines]
  20. !ifndef $(PEI_ARCH)
  21. !error "PEI_ARCH must be specified to build this feature!"
  22. !endif
  23. !ifndef $(DXE_ARCH)
  24. !error "DXE_ARCH must be specified to build this feature!"
  25. !endif
  26. ################################################################################
  27. #
  28. # Library Class section - list of all Library Classes needed by this feature.
  29. #
  30. ################################################################################
  31. [LibraryClasses]
  32. #######################################
  33. # Edk2 Packages
  34. #######################################
  35. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  36. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  37. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  38. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  39. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  40. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  41. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
  42. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  43. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  44. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  45. TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
  46. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  47. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  48. UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
  49. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  50. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  51. RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
  52. #####################################
  53. # User Authentication Feature Package
  54. #####################################
  55. PlatformPasswordLib|UserInterface/UserAuthFeaturePkg/Library/PlatformPasswordLibNull/PlatformPasswordLibNull.inf
  56. UserPasswordLib|UserInterface/UserAuthFeaturePkg/Library/UserPasswordLib/UserPasswordLib.inf
  57. [LibraryClasses.common.DXE_DRIVER]
  58. #######################################
  59. # Edk2 Packages
  60. #######################################
  61. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  62. [LibraryClasses.common.DXE_SMM_DRIVER]
  63. #######################################
  64. # Edk2 Packages
  65. #######################################
  66. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
  67. MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
  68. SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
  69. ###################################################################################################
  70. #
  71. # Components Section - list of the modules and components that will be processed by compilation
  72. # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
  73. #
  74. # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
  75. # into firmware volume images. This section is just a list of modules to compile from
  76. # source into UEFI-compliant binaries.
  77. # It is the FDF file that contains information on combining binary files into firmware
  78. # volume images, whose concept is beyond UEFI and is described in PI specification.
  79. # Binary modules do not need to be listed in this section, as they should be
  80. # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
  81. # Logo (Logo.bmp), and etc.
  82. # There may also be modules listed in this section that are not required in the FDF file,
  83. # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
  84. # generated for it, but the binary will not be put into any firmware volume.
  85. #
  86. ###################################################################################################
  87. #
  88. # Feature PEI Components
  89. #
  90. # @todo: Change below line to [Components.$(PEI_ARCH)] after https://bugzilla.tianocore.org/show_bug.cgi?id=2308
  91. # is completed.
  92. [Components.IA32]
  93. #####################################
  94. # User Authentication Feature Package
  95. #####################################
  96. # Add library instances here that are not included in package components and should be tested
  97. # in the package build.
  98. # Add components here that should be included in the package build.
  99. #
  100. # Feature DXE Components
  101. #
  102. # @todo: Change below line to [Components.$(DXE_ARCH)] after https://bugzilla.tianocore.org/show_bug.cgi?id=2308
  103. # is completed.
  104. [Components.X64]
  105. #####################################
  106. # User Authentication Feature Package
  107. #####################################
  108. # Add library instances here that are not included in package components and should be tested
  109. # in the package build.
  110. UserInterface/UserAuthFeaturePkg/Library/UserPasswordUiLib/UserPasswordUiLib.inf
  111. # Add components here that should be included in the package build.
  112. UserInterface/UserAuthFeaturePkg/UserAuthenticationDxeSmm/UserAuthenticationDxe.inf
  113. UserInterface/UserAuthFeaturePkg/UserAuthenticationDxeSmm/UserAuthentication2Dxe.inf
  114. UserInterface/UserAuthFeaturePkg/UserAuthenticationDxeSmm/UserAuthenticationSmm.inf
  115. ###################################################################################################
  116. #
  117. # BuildOptions Section - Define the module specific tool chain flags that should be used as
  118. # the default flags for a module. These flags are appended to any
  119. # standard flags that are defined by the build process. They can be
  120. # applied for any modules or only those modules with the specific
  121. # module style (EDK or EDKII) specified in [Components] section.
  122. #
  123. # For advanced features, it is recommended to enable [BuildOptions] in
  124. # the applicable INF file so it does not affect the whole board package
  125. # build when this DSC file is active.
  126. #
  127. ###################################################################################################
  128. [BuildOptions]