FatPkg.dsc 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. ## @file
  2. # Build Binary Enhanced Fat Driver Modules.
  3. #
  4. # This Platform file is used to generate the Binary Fat Drivers
  5. # for EDK II Prime release.
  6. # Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.<BR>
  7. # Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
  8. # Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
  9. #
  10. # SPDX-License-Identifier: BSD-2-Clause-Patent
  11. #
  12. ##
  13. [Defines]
  14. PLATFORM_NAME = Fat
  15. PLATFORM_GUID = 25b55dbc-9d0b-4a32-80da-46e1273d622c
  16. PLATFORM_VERSION = 0.3
  17. DSC_SPECIFICATION = 0x00010005
  18. SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64|LOONGARCH64
  19. OUTPUT_DIRECTORY = Build/Fat
  20. BUILD_TARGETS = DEBUG|RELEASE|NOOPT
  21. SKUID_IDENTIFIER = DEFAULT
  22. [BuildOptions]
  23. GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
  24. INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
  25. MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
  26. *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
  27. !include MdePkg/MdeLibs.dsc.inc
  28. [LibraryClasses]
  29. #
  30. # Entry Point Libraries
  31. #
  32. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  33. #
  34. # Common Libraries
  35. #
  36. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  37. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  38. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  39. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  40. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  41. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  42. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  43. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  44. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  45. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  46. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  47. [LibraryClasses.common.PEIM]
  48. PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  49. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  50. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
  51. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  52. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  53. [LibraryClasses.ARM, LibraryClasses.AARCH64]
  54. NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
  55. NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
  56. ###################################################################################################
  57. #
  58. # Components Section - list of the modules and components that will be processed by compilation
  59. # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
  60. #
  61. # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
  62. # into firmware volume images. This section is just a list of modules to compile from
  63. # source into UEFI-compliant binaries.
  64. # It is the FDF file that contains information on combining binary files into firmware
  65. # volume images, whose concept is beyond UEFI and is described in PI specification.
  66. # Binary modules do not need to be listed in this section, as they should be
  67. # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
  68. # Logo (Logo.bmp), and etc.
  69. # There may also be modules listed in this section that are not required in the FDF file,
  70. # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
  71. # generated for it, but the binary will not be put into any firmware volume.
  72. #
  73. ###################################################################################################
  74. [Components]
  75. FatPkg/FatPei/FatPei.inf
  76. FatPkg/EnhancedFatDxe/Fat.inf