FatPkg.dsc 3.9 KB

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